wok-next annotate fox/receipt @ rev 5018
update DEPENDS: nvidia is hardware-specific and should be removed or optional
author | Rohit Joshi <jozee@slitaz.org> |
---|---|
date | Mon Mar 01 08:54:30 2010 +0000 (2010-03-01) |
parents | 9f19aee613be |
children | b68b4f934ba7 |
rev | line source |
---|---|
pankso@2779 | 1 # SliTaz package receipt. |
pankso@2779 | 2 |
pankso@2779 | 3 PACKAGE="fox" |
pankso@2779 | 4 VERSION="1.6.36" |
pankso@2779 | 5 CATEGORY="x-window" |
pankso@2779 | 6 SHORT_DESC="Fox toolkit." |
pankso@2779 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@2779 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
jozee@5018 | 9 DEPENDS="libpng jpeg tiff xorg-libXft bzlib libgl libglu" |
jozee@5018 | 10 SUGGESTED="nvidia" |
pankso@2779 | 11 BUILD_DEPENDS="$DEPENDS libpng-dev jpeg-dev tiff-dev xorg-libXft-dev" |
pankso@2779 | 12 SUGGESTED="adie calculator pathfinder shutterbug" |
pankso@2779 | 13 WEB_SITE="http://www.fox-toolkit.org/" |
pankso@2779 | 14 WGET_URL="http://www.fox-toolkit.org/ftp/$TARBALL" |
pankso@2779 | 15 |
pankso@2779 | 16 # Rules to configure and make the package. |
pankso@2779 | 17 compile_rules() |
pankso@2779 | 18 { |
pankso@2779 | 19 cd $src |
pankso@2779 | 20 ./configure \ |
pankso@2779 | 21 --prefix=/usr \ |
pankso@2779 | 22 --mandir=/usr/share/man \ |
pankso@2779 | 23 --with-xft \ |
pankso@2779 | 24 $CONFIGURE_ARGS && |
pankso@2779 | 25 make && |
pankso@2779 | 26 make DESTDIR=$PWD/_pkg install |
pankso@2779 | 27 } |
pankso@2779 | 28 |
pankso@2779 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@2779 | 30 genpkg_rules() |
pankso@2779 | 31 { |
pankso@2779 | 32 mkdir -p $fs/usr/lib |
pankso@2779 | 33 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@2779 | 34 } |