wok annotate fox14/receipt @ rev 9069

squirrelmail-smallcal: fix genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Mar 04 14:43:55 2011 +0100 (2011-03-04)
parents 6cc3281e3803
children 727133dce37a
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"
pascal@6109 11 BUILD_DEPENDS="libpng jpeg tiff xorg-libXft bzlib nvidia \
pascal@6110 12 libpng-dev jpeg-dev tiff-dev xorg-libXft-dev mesa libglu-mesa"
allan316@3740 13 SUGGESTED="adie calculator pathfinder shutterbug"
allan316@3740 14 WEB_SITE="http://www.fox-toolkit.org/"
allan316@3740 15 WGET_URL="http://www.fox-toolkit.org/ftp/$TARBALL"
allan316@3740 16
allan316@3740 17 # Rules to configure and make the package.
allan316@3740 18 compile_rules()
allan316@3740 19 {
allan316@3740 20 cd $src
allan316@3740 21 ./configure \
allan316@3740 22 --prefix=/usr \
allan316@3740 23 --mandir=/usr/share/man \
allan316@3740 24 --with-xft \
allan316@3740 25 $CONFIGURE_ARGS &&
pascal@5795 26 make -j 4 &&
allan316@3740 27 make DESTDIR=$PWD/_pkg install
allan316@3740 28 }
allan316@3740 29
allan316@3740 30 # Rules to gen a SliTaz package suitable for Tazpkg.
allan316@3740 31 genpkg_rules()
allan316@3740 32 {
allan316@3740 33 mkdir -p $fs/usr/lib
allan316@3740 34 cp -a $_pkg/usr/bin $fs/usr
allan316@3740 35 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
allan316@3740 36 }