wok-next annotate fpc-bootstrap/receipt @ rev 16226
Down fpc (2.6.2)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Apr 01 07:58:59 2014 +0000 (2014-04-01) |
parents | 7954f71fdefc |
children | 38a2223adf5c |
rev | line source |
---|---|
slaxemulator@9411 | 1 # SliTaz package receipt. |
slaxemulator@9411 | 2 |
slaxemulator@9411 | 3 PACKAGE="fpc-bootstrap" |
pascal@16226 | 4 VERSION="2.6.2" |
slaxemulator@9411 | 5 CATEGORY="development" |
slaxemulator@9411 | 6 SHORT_DESC="bootstrap to compile fpc." |
slaxemulator@9411 | 7 MAINTAINER="slaxemulator@gmail.com" |
pascal@15604 | 8 LICENSE="GPL2 LGPL2.1" |
pascal@16219 | 9 TARBALL="$PACKAGE-$VERSION.bz2" |
slaxemulator@9411 | 10 WEB_SITE="http://freepascal.org/" |
pascal@16219 | 11 WGET_URL="ftp://ftp.freepascal.org/pub/fpc/dist/$VERSION/bootstrap/i386-linux-ppc386.bz2" |
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 } |