wok annotate fox/receipt @ rev 3659
Hack coreutils compile
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jul 07 20:54:42 2009 +0200 (2009-07-07) |
parents | 8e7cd625ccfe |
children | 9f19aee613be |
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" |
pascal@2843 | 9 DEPENDS="libpng jpeg tiff xorg-libXft bzlib libgl libglu" |
pankso@2779 | 10 BUILD_DEPENDS="$DEPENDS libpng-dev jpeg-dev tiff-dev xorg-libXft-dev" |
pankso@2779 | 11 SUGGESTED="adie calculator pathfinder shutterbug" |
pankso@2779 | 12 WEB_SITE="http://www.fox-toolkit.org/" |
pankso@2779 | 13 WGET_URL="http://www.fox-toolkit.org/ftp/$TARBALL" |
pankso@2779 | 14 |
pankso@2779 | 15 # Rules to configure and make the package. |
pankso@2779 | 16 compile_rules() |
pankso@2779 | 17 { |
pankso@2779 | 18 cd $src |
pankso@2779 | 19 ./configure \ |
pankso@2779 | 20 --prefix=/usr \ |
pankso@2779 | 21 --mandir=/usr/share/man \ |
pankso@2779 | 22 --with-xft \ |
pankso@2779 | 23 $CONFIGURE_ARGS && |
pankso@2779 | 24 make && |
pankso@2779 | 25 make DESTDIR=$PWD/_pkg install |
pankso@2779 | 26 } |
pankso@2779 | 27 |
pankso@2779 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@2779 | 29 genpkg_rules() |
pankso@2779 | 30 { |
pankso@2779 | 31 mkdir -p $fs/usr/lib |
pankso@2779 | 32 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@2779 | 33 } |