wok-stable annotate fpc-bootstrap/receipt @ rev 10043
merge
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri May 20 09:01:13 2011 +0200 (2011-05-20) |
parents | |
children |
rev | line source |
---|---|
slaxemulator@9411 | 1 # SliTaz package receipt. |
slaxemulator@9411 | 2 |
slaxemulator@9411 | 3 PACKAGE="fpc-bootstrap" |
slaxemulator@9411 | 4 VERSION="2.4.2" |
slaxemulator@9411 | 5 CATEGORY="development" |
slaxemulator@9411 | 6 SHORT_DESC="bootstrap to compile fpc." |
slaxemulator@9411 | 7 MAINTAINER="slaxemulator@gmail.com" |
slaxemulator@9411 | 8 TARBALL="i386-linux-ppc386.bz2" |
slaxemulator@9411 | 9 WEB_SITE="http://freepascal.org/" |
slaxemulator@9411 | 10 WGET_URL="ftp://ftp.freepascal.org/pub/fpc/dist/$VERSION/bootstrap/$TARBALL" |
slaxemulator@9411 | 11 COOK_OPT="!repack_src !unpack" |
slaxemulator@9411 | 12 |
slaxemulator@9411 | 13 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@9411 | 14 genpkg_rules() |
slaxemulator@9411 | 15 { |
slaxemulator@9411 | 16 mkdir -p $fs/usr/bin $WOK/$PACKAGE/tmp |
slaxemulator@9411 | 17 if [ -f $SOURCES_REPOSITORY/$TARBALL ]; then |
slaxemulator@9411 | 18 cp $SOURCES_REPOSITORY/$TARBALL $WOK/$PACKAGE/tmp |
slaxemulator@9411 | 19 fi |
slaxemulator@9411 | 20 bunzip2 -d $WOK/$PACKAGE/tmp/$TARBALL |
slaxemulator@9411 | 21 cp -a $WOK/$PACKAGE/tmp/i386-linux-ppc386 $fs/usr/bin/ppc386 |
slaxemulator@9411 | 22 chmod +x $fs/usr/bin/ppc386 |
slaxemulator@9411 | 23 } |
slaxemulator@9411 | 24 |