wok annotate ftjam/receipt @ rev 12115
Fix usb-modeswitch-data build
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue Mar 13 09:31:10 2012 +0100 (2012-03-13) |
parents | c29bdd2b1059 |
children | 3b4e4318134e |
rev | line source |
---|---|
jozee@4537 | 1 # SliTaz package receipt. |
jozee@4537 | 2 |
jozee@4537 | 3 PACKAGE="ftjam" |
jozee@4537 | 4 VERSION="2.5.3rc2" |
jozee@4537 | 5 CATEGORY="development" |
jozee@4537 | 6 MAINTAINER="jozee@slitaz.org" |
jozee@4537 | 7 SHORT_DESC=="FT Jam - an enhanced version of the Jam build tool" |
jozee@4537 | 8 WEB_SITE="http://freetype.org/jam/" |
jozee@4537 | 9 PROVIDE="jam" |
jozee@4537 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
jozee@4537 | 11 WGET_URL="http://david.freetype.org/jam/$TARBALL" |
jozee@4537 | 12 |
slaxemulator@10329 | 13 DEPENDS="glibc-base" |
slaxemulator@10329 | 14 BUILD_DEPENDS="bison" |
slaxemulator@10329 | 15 |
jozee@4537 | 16 # Rules to configure and make the package. |
jozee@4537 | 17 compile_rules() { |
slaxemulator@10329 | 18 cd $src |
slaxemulator@10329 | 19 ./configure --prefix=/usr $CONFIGURE_ARGS && |
slaxemulator@10329 | 20 make && |
slaxemulator@10329 | 21 make DESTDIR=$DESTDIR install |
jozee@4537 | 22 } |
jozee@4537 | 23 |
jozee@4537 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@4537 | 25 genpkg_rules() |
jozee@4537 | 26 { |
jozee@4537 | 27 mkdir -p $fs/usr |
jozee@4537 | 28 cp -a $_pkg/usr/bin $fs/usr |
jozee@4537 | 29 |
jozee@4537 | 30 } |