wok-next view fox14/receipt @ rev 11659

xfe, Improve receipt
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Sun Feb 12 22:40:16 2012 +0100 (2012-02-12)
parents 51887f399d86
children 75463dec493b
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 $MAKEFLAGS &&
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 }