wok-next annotate fpc-bootstrap/receipt @ rev 13591
move from undigest: 0install adminer blktrace busybox-boot blktrace codiad davmail e4rat fbff flashrom fsthost get-softmodem-driver lessfs libmikmod libmikmod-dev lvmts mikmod navit phpeasyvcs puppet qtractor splashutils systemd tokyocabinet tokyocabinet-dev vmware-view-open-client wine-rt-dev xflux
| author | Pascal Bellard <pascal.bellard@slitaz.org> |
|---|---|
| date | Thu Nov 08 09:35:38 2012 +0100 (2012-11-08) |
| parents | |
| children | 48d3d669a814 |
| 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 |