wok-next view fox14/receipt @ rev 14996

Add LGPL2.1 licenses
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Aug 10 11:00:21 2013 +0000 (2013-08-10)
parents 37cb8350d4bb
children 2b9f96603415
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"
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 }