wok-4.x annotate fox14/receipt @ rev 9269
Fixed fox14. It doesn't need nvidia as a depend.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Tue Mar 15 17:35:05 2011 +0000 (2011-03-15) |
parents | 22f71fbe4fb0 |
children | 8e4c74abdf74 |
rev | line source |
---|---|
allan316@3740 | 1 # SliTaz package receipt. |
allan316@3740 | 2 |
allan316@3740 | 3 PACKAGE="fox14" |
allan316@3740 | 4 SOURCE="fox" |
allan316@3740 | 5 VERSION="1.4.35" |
allan316@3740 | 6 CATEGORY="x-window" |
allan316@3740 | 7 SHORT_DESC="Fox toolkit." |
allan316@3740 | 8 MAINTAINER="pankso@slitaz.org" |
allan316@3740 | 9 TARBALL="$SOURCE-$VERSION.tar.gz" |
slaxemulator@6970 | 10 DEPENDS="libpng jpeg tiff xorg-libXft bzlib mesa libglu-mesa" |
slaxemulator@9269 | 11 BUILD_DEPENDS="libpng jpeg tiff xorg-libXft bzlib \ |
pascal@9262 | 12 xorg-libXrender xorg-libXrender-dev fontconfig fontconfig-dev freetype freetype-dev \ |
pascal@6110 | 13 libpng-dev jpeg-dev tiff-dev xorg-libXft-dev mesa libglu-mesa" |
allan316@3740 | 14 SUGGESTED="adie calculator pathfinder shutterbug" |
allan316@3740 | 15 WEB_SITE="http://www.fox-toolkit.org/" |
allan316@3740 | 16 WGET_URL="http://www.fox-toolkit.org/ftp/$TARBALL" |
allan316@3740 | 17 |
allan316@3740 | 18 # Rules to configure and make the package. |
allan316@3740 | 19 compile_rules() |
allan316@3740 | 20 { |
allan316@3740 | 21 cd $src |
pascal@9261 | 22 ./configure LDFLAGS="-lXft -lfreetype -lfontconfig -lXrender" \ |
allan316@3740 | 23 --prefix=/usr \ |
allan316@3740 | 24 --mandir=/usr/share/man \ |
allan316@3740 | 25 --with-xft \ |
allan316@3740 | 26 $CONFIGURE_ARGS && |
pascal@5795 | 27 make -j 4 && |
allan316@3740 | 28 make DESTDIR=$PWD/_pkg install |
allan316@3740 | 29 } |
allan316@3740 | 30 |
allan316@3740 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
allan316@3740 | 32 genpkg_rules() |
allan316@3740 | 33 { |
allan316@3740 | 34 mkdir -p $fs/usr/lib |
allan316@3740 | 35 cp -a $_pkg/usr/bin $fs/usr |
allan316@3740 | 36 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
allan316@3740 | 37 } |