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

Up: gcompris, goocanvas, pidgin
author Alexander Medvedev <devl547@gmail.com>
date Sun Nov 06 20:29:05 2011 +0000 (2011-11-06)
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 }