wok-current view fox14/receipt @ rev 15518

Up: thunderbird-langpack-pl (17.0.10esr)
author Dominique Corbex <domcox@slitaz.org>
date Tue Nov 19 22:24:27 2013 +0100 (2013-11-19)
parents 76b72f1ad63c
children bfabe25c21ff
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 LICENSE="LGPL2.1"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="http://www.fox-toolkit.org/"
12 WGET_URL="http://ftp.fox-toolkit.org/pub/$TARBALL"
13 SUGGESTED="adie calculator pathfinder shutterbug"
15 DEPENDS="libpng jpeg tiff xorg-libXft bzlib mesa libglu-mesa"
16 BUILD_DEPENDS="libpng jpeg tiff xorg-libXft bzlib \
17 xorg-libXrender xorg-libXrender-dev fontconfig fontconfig-dev freetype freetype-dev \
18 libpng-dev jpeg-dev tiff-dev xorg-libXft-dev mesa libglu-mesa expat-dev libxml2-dev"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 cd $src
24 sed -i 's/(gzFile\*)/(gzFile)/' src/FXGZStream.cpp
25 ./configure LDFLAGS="-lXft -lfreetype -lfontconfig -lXrender" \
26 --prefix=/usr \
27 --mandir=/usr/share/man \
28 --with-xft \
29 $CONFIGURE_ARGS &&
30 make $MAKEFLAGS &&
31 make DESTDIR=$DESTDIR install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/lib
38 cp -a $install/usr/bin $fs/usr
39 cp -a $install/usr/lib/*.so* $fs/usr/lib
40 }