wok view fox14/receipt @ rev 14798

memtest: add license
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jul 13 14:32:56 2013 +0200 (2013-07-13)
parents 2fa67f6d1db4
children 76b72f1ad63c
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 expat-dev"
14 SUGGESTED="adie calculator pathfinder shutterbug"
15 WEB_SITE="http://www.fox-toolkit.org/"
16 WGET_URL="http://ftp.fox-toolkit.org/pub/$TARBALL"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
22 sed -i 's/(gzFile\*)/(gzFile)/' src/FXGZStream.cpp
23 ./configure LDFLAGS="-lXft -lfreetype -lfontconfig -lXrender" \
24 --prefix=/usr \
25 --mandir=/usr/share/man \
26 --with-xft \
27 $CONFIGURE_ARGS &&
28 make $MAKEFLAGS &&
29 make DESTDIR=$PWD/_pkg install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/lib
36 cp -a $_pkg/usr/bin $fs/usr
37 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
38 }