wok-4.x view fpc-bootstrap/receipt @ rev 11022
Up: deadbeef to 0.5.1.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sun Oct 16 06:26:33 2011 +0000 (2011-10-16) |
parents | |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="fpc-bootstrap"
4 VERSION="2.4.2"
5 CATEGORY="development"
6 SHORT_DESC="bootstrap to compile fpc."
7 MAINTAINER="slaxemulator@gmail.com"
8 TARBALL="i386-linux-ppc386.bz2"
9 WEB_SITE="http://freepascal.org/"
10 WGET_URL="ftp://ftp.freepascal.org/pub/fpc/dist/$VERSION/bootstrap/$TARBALL"
11 COOK_OPT="!repack_src !unpack"
13 # Rules to gen a SliTaz package suitable for Tazpkg.
14 genpkg_rules()
15 {
16 mkdir -p $fs/usr/bin $WOK/$PACKAGE/tmp
17 if [ -f $SOURCES_REPOSITORY/$TARBALL ]; then
18 cp $SOURCES_REPOSITORY/$TARBALL $WOK/$PACKAGE/tmp
19 fi
20 bunzip2 -d $WOK/$PACKAGE/tmp/$TARBALL
21 cp -a $WOK/$PACKAGE/tmp/i386-linux-ppc386 $fs/usr/bin/ppc386
22 chmod +x $fs/usr/bin/ppc386
23 }