wok-current view fox14/receipt @ rev 10358

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