wok-next view fpc-bootstrap/receipt @ rev 15604

Add some licenses
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Dec 06 10:58:19 2013 +0000 (2013-12-06)
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 }