wok-4.x annotate fltk/receipt @ rev 1961
nscd: add /var/db
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Dec 31 15:47:23 2008 +0000 (2008-12-31) |
parents | e13aa4c04576 |
children | 3eacc9c96968 |
rev | line source |
---|---|
pankso@627 | 1 # SliTaz package receipt. |
pankso@627 | 2 |
pankso@627 | 3 PACKAGE="fltk" |
pascal@1492 | 4 VERSION="1.1.9" |
pankso@627 | 5 CATEGORY="system-tools" |
pankso@627 | 6 SHORT_DESC="Fast Light Tool Kit (provide fluid)." |
pankso@627 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@1511 | 8 BUILD_DEPENDS="xorg-dev" |
pankso@627 | 9 TARBALL="$PACKAGE-$VERSION-source.tar.bz2" |
pankso@627 | 10 WEB_SITE="http://www.fltk.org/" |
pascal@1492 | 11 WGET_URL="http://ftp.easysw.com/pub/fltk/$VERSION/$TARBALL" |
pankso@627 | 12 |
pankso@627 | 13 # Rules to configure and make the package. |
pankso@627 | 14 compile_rules() |
pankso@627 | 15 { |
pankso@627 | 16 cd $src |
pankso@627 | 17 ./configure \ |
pankso@627 | 18 --prefix=/usr \ |
pankso@627 | 19 --mandir=/usr/share/man \ |
pankso@627 | 20 --enable-shared \ |
pankso@627 | 21 --enable-xft \ |
pascal@1492 | 22 $CONFIGURE_ARGS && |
pascal@1492 | 23 make && |
pankso@627 | 24 make DESTDIR=$PWD/_pkg install |
pankso@627 | 25 } |
pankso@627 | 26 |
pankso@627 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@627 | 28 genpkg_rules() |
pankso@627 | 29 { |
pankso@627 | 30 mkdir -p $fs/usr/bin $fs/usr/lib $fs/usr/share/pixmaps |
pankso@627 | 31 cp -a $_pkg/usr/bin/fluid $fs/usr/bin |
pankso@627 | 32 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@627 | 33 cp $src/fluid/icons/fluid-32.png $fs/usr/share/pixmaps/fluid.png |
pankso@627 | 34 } |