wok view fpc-bootstrap/receipt @ rev 15821
Up: bazaar-tools to 2.6.0.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Fri Jan 24 07:06:27 2014 +0000 (2014-01-24) |
parents | 6408ba48363a |
children | e6bbb8cc0677 |
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 LICENSE="GPL2 LGPL2.1"
9 TARBALL="i386-linux-ppc386.bz2"
10 WEB_SITE="http://freepascal.org/"
11 WGET_URL="ftp://ftp.freepascal.org/pub/fpc/dist/$VERSION/bootstrap/$TARBALL"
12 COOK_OPT="!repack_src !unpack"
14 # Rules to gen a SliTaz package suitable for Tazpkg.
15 genpkg_rules()
16 {
17 mkdir -p $fs/usr/bin $WOK/$PACKAGE/tmp
18 if [ -f $SOURCES_REPOSITORY/$TARBALL ]; then
19 cp $SOURCES_REPOSITORY/$TARBALL $WOK/$PACKAGE/tmp
20 fi
21 bunzip2 -d $WOK/$PACKAGE/tmp/$TARBALL
22 cp -a $WOK/$PACKAGE/tmp/i386-linux-ppc386 $fs/usr/bin/ppc386
23 chmod +x $fs/usr/bin/ppc386
24 }