wok-4.x annotate fox/receipt @ rev 9113

slitaz-doc: fix genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Mar 05 11:34:20 2011 +0100 (2011-03-05)
parents d7e2c4e777b3
children bd75f843a141
rev   line source
pankso@2779 1 # SliTaz package receipt.
pankso@2779 2
pankso@2779 3 PACKAGE="fox"
slaxemulator@6579 4 VERSION="1.6.40"
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"
slaxemulator@6579 9 DEPENDS="libpng jpeg tiff xorg-libXft bzlib mesa libglu-mesa xorg-libXcursor \
slaxemulator@6579 10 xorg-libXrandr xorg-libXxf86vm xorg-libXdamage libdrm jbigkit"
slaxemulator@6579 11 BUILD_DEPENDS="$DEPENDS libpng-dev jpeg-dev tiff-dev xorg-libXft-dev mesa-dev freetype-dev fontconfig-dev expat-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 &&
pascal@5795 25 make -j 4 &&
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 }