wok-6.x view fltk-2.0.x/receipt @ rev 8036

Replaced libxfce4menu to garcon in xfce4 depends.
author Christopher Rogers <slaxemulator@gmail.com>
date Thu Jan 20 02:46:49 2011 +0000 (2011-01-20)
parents da1f31fbbf36
children 84b620628dcf
line source
1 # SliTaz package receipt.
3 PACKAGE="fltk-2.0.x"
4 VERSION="r6671"
5 CATEGORY="system-tools"
6 SHORT_DESC="Fast Light Tool Kit (provide fluid)."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="expat fontconfig freetype jpeg xorg-libX11 xorg-libXau xorg-libXdmcp \
9 xorg-libXext xorg-libXft xorg-libXrender zlib libpng xorg-libXi \
10 xorg-libXinerama gcc-lib-base"
11 BUILD_DEPENDS="xorg-dev xorg-libXft-dev mesa mesa-dev"
12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
13 WEB_SITE="http://www.fltk.org/"
14 WGET_URL="http://ftp.easysw.com/pub/fltk/snapshots/$TARBALL"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 patch -p 0 < ../stuff/filename_list-dirent.patch || exit 1
21 ./configure \
22 --prefix=/usr \
23 --mandir=/usr/share/man \
24 --enable-shared \
25 --enable-xft \
26 $CONFIGURE_ARGS &&
27 make &&
28 cp -f fltk2-config /usr/bin &&
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/lib/*.so* $fs/usr/lib
37 # Remove gl support --> fltk-2.0.x-gl
38 rm $fs/usr/lib/libfltk2*gl*
39 }