wok-4.x view fpc-bootstrap/receipt @ rev 10758

nanochess: get source in $SOURCES_REPOSITORY (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue May 31 11:51:33 2011 +0200 (2011-05-31)
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 }