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

Up: slitaz-base-files (5.4)
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Thu Jan 17 19:28:43 2013 +0100 (2013-01-17)
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 }