wok-6.x annotate fpc-bootstrap/receipt @ rev 16217

Up fpc-bootstrap (2.6.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Mar 31 19:54:12 2014 +0000 (2014-03-31)
parents e6bbb8cc0677
children 7954f71fdefc
rev   line source
slaxemulator@9411 1 # SliTaz package receipt.
slaxemulator@9411 2
slaxemulator@9411 3 PACKAGE="fpc-bootstrap"
pascal@16217 4 VERSION="2.6.4"
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
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