wok-4.x view fox14/receipt @ rev 12416

linux-lxc: add post_install() for update menu.lst
author Stanislas Leduc <shann@slitaz.org>
date Sat Dec 21 07:21:27 2013 +0100 (2013-12-21)
parents 8e4c74abdf74
children
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 }