wok-stable diff fpc-bootstrap/receipt @ rev 11455
groff: pack /usr/share files to the correct path
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Sat Dec 17 11:42:21 2011 +0100 (2011-12-17) |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/fpc-bootstrap/receipt Sat Dec 17 11:42:21 2011 +0100 1.3 @@ -0,0 +1,24 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="fpc-bootstrap" 1.7 +VERSION="2.4.2" 1.8 +CATEGORY="development" 1.9 +SHORT_DESC="bootstrap to compile fpc." 1.10 +MAINTAINER="slaxemulator@gmail.com" 1.11 +TARBALL="i386-linux-ppc386.bz2" 1.12 +WEB_SITE="http://freepascal.org/" 1.13 +WGET_URL="ftp://ftp.freepascal.org/pub/fpc/dist/$VERSION/bootstrap/$TARBALL" 1.14 +COOK_OPT="!repack_src !unpack" 1.15 + 1.16 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.17 +genpkg_rules() 1.18 +{ 1.19 + mkdir -p $fs/usr/bin $WOK/$PACKAGE/tmp 1.20 + if [ -f $SOURCES_REPOSITORY/$TARBALL ]; then 1.21 + cp $SOURCES_REPOSITORY/$TARBALL $WOK/$PACKAGE/tmp 1.22 + fi 1.23 + bunzip2 -d $WOK/$PACKAGE/tmp/$TARBALL 1.24 + cp -a $WOK/$PACKAGE/tmp/i386-linux-ppc386 $fs/usr/bin/ppc386 1.25 + chmod +x $fs/usr/bin/ppc386 1.26 +} 1.27 +