wok-current diff fpc-bootstrap/receipt @ rev 9785
gen-init-cpio: fix build
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu May 12 15:15:03 2011 +0200 (2011-05-12) |
parents | |
children | 48d3d669a814 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/fpc-bootstrap/receipt Thu May 12 15:15:03 2011 +0200 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 +