wok-current view fpc-bootstrap/receipt @ rev 9785

gen-init-cpio: fix build
author Christophe Lincoln <pankso@slitaz.org>
date Thu May 12 15:15:03 2011 +0200 (2011-05-12)
parents
children 48d3d669a814
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 }