wok annotate fltk/receipt @ rev 627
Add: fltk (Fast Light Tool Kit)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon Apr 21 00:53:00 2008 +0200 (2008-04-21) |
parents | |
children | e13aa4c04576 |
rev | line source |
---|---|
pankso@627 | 1 # SliTaz package receipt. |
pankso@627 | 2 |
pankso@627 | 3 PACKAGE="fltk" |
pankso@627 | 4 VERSION="1.1.9rc1" |
pankso@627 | 5 CATEGORY="system-tools" |
pankso@627 | 6 SHORT_DESC="Fast Light Tool Kit (provide fluid)." |
pankso@627 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@627 | 8 TARBALL="$PACKAGE-$VERSION-source.tar.bz2" |
pankso@627 | 9 WEB_SITE="http://www.fltk.org/" |
pankso@627 | 10 WGET_URL="http://mirror.nu6.org/ftp.easysw.com/pub/fltk//$VERSION/$TARBALL" |
pankso@627 | 11 |
pankso@627 | 12 # Rules to configure and make the package. |
pankso@627 | 13 compile_rules() |
pankso@627 | 14 { |
pankso@627 | 15 cd $src |
pankso@627 | 16 ./configure \ |
pankso@627 | 17 --prefix=/usr \ |
pankso@627 | 18 --mandir=/usr/share/man \ |
pankso@627 | 19 --enable-shared \ |
pankso@627 | 20 --enable-xft \ |
pankso@627 | 21 $CONFIGURE_ARGS |
pankso@627 | 22 make |
pankso@627 | 23 make DESTDIR=$PWD/_pkg install |
pankso@627 | 24 } |
pankso@627 | 25 |
pankso@627 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@627 | 27 genpkg_rules() |
pankso@627 | 28 { |
pankso@627 | 29 mkdir -p $fs/usr/bin $fs/usr/lib $fs/usr/share/pixmaps |
pankso@627 | 30 cp -a $_pkg/usr/bin/fluid $fs/usr/bin |
pankso@627 | 31 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@627 | 32 cp $src/fluid/icons/fluid-32.png $fs/usr/share/pixmaps/fluid.png |
pankso@627 | 33 } |