wok-current annotate fpc-bootstrap/receipt @ rev 16080
ARM: xorg-server-light use same vers than main xorg
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat Mar 15 13:11:09 2014 +0100 (2014-03-15) |
parents | 6408ba48363a |
children | e6bbb8cc0677 |
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" |
pascal@15604 | 8 LICENSE="GPL2 LGPL2.1" |
slaxemulator@9411 | 9 TARBALL="i386-linux-ppc386.bz2" |
slaxemulator@9411 | 10 WEB_SITE="http://freepascal.org/" |
slaxemulator@9411 | 11 WGET_URL="ftp://ftp.freepascal.org/pub/fpc/dist/$VERSION/bootstrap/$TARBALL" |
slaxemulator@9411 | 12 COOK_OPT="!repack_src !unpack" |
slaxemulator@9411 | 13 |
slaxemulator@9411 | 14 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@9411 | 15 genpkg_rules() |
slaxemulator@9411 | 16 { |
slaxemulator@9411 | 17 mkdir -p $fs/usr/bin $WOK/$PACKAGE/tmp |
slaxemulator@9411 | 18 if [ -f $SOURCES_REPOSITORY/$TARBALL ]; then |
slaxemulator@9411 | 19 cp $SOURCES_REPOSITORY/$TARBALL $WOK/$PACKAGE/tmp |
slaxemulator@9411 | 20 fi |
slaxemulator@9411 | 21 bunzip2 -d $WOK/$PACKAGE/tmp/$TARBALL |
slaxemulator@9411 | 22 cp -a $WOK/$PACKAGE/tmp/i386-linux-ppc386 $fs/usr/bin/ppc386 |
slaxemulator@9411 | 23 chmod +x $fs/usr/bin/ppc386 |
slaxemulator@9411 | 24 } |
slaxemulator@9411 | 25 |