wok-stable annotate fox14/receipt @ rev 4229

partimage*, fix build with gcc 4.x
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Thu Sep 24 12:41:52 2009 +0000 (2009-09-24)
parents
children 9f19aee613be
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"
allan316@3740 10 DEPENDS="libpng jpeg tiff xorg-libXft bzlib libgl libglu"
allan316@3740 11 BUILD_DEPENDS="$DEPENDS libpng-dev jpeg-dev tiff-dev xorg-libXft-dev"
allan316@3740 12 SUGGESTED="adie calculator pathfinder shutterbug"
allan316@3740 13 WEB_SITE="http://www.fox-toolkit.org/"
allan316@3740 14 WGET_URL="http://www.fox-toolkit.org/ftp/$TARBALL"
allan316@3740 15
allan316@3740 16 # Rules to configure and make the package.
allan316@3740 17 compile_rules()
allan316@3740 18 {
allan316@3740 19 cd $src
allan316@3740 20 ./configure \
allan316@3740 21 --prefix=/usr \
allan316@3740 22 --mandir=/usr/share/man \
allan316@3740 23 --with-xft \
allan316@3740 24 $CONFIGURE_ARGS &&
allan316@3740 25 make &&
allan316@3740 26 make DESTDIR=$PWD/_pkg install
allan316@3740 27 }
allan316@3740 28
allan316@3740 29 # Rules to gen a SliTaz package suitable for Tazpkg.
allan316@3740 30 genpkg_rules()
allan316@3740 31 {
allan316@3740 32 mkdir -p $fs/usr/lib
allan316@3740 33 cp -a $_pkg/usr/bin $fs/usr
allan316@3740 34 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
allan316@3740 35 }