wok-current view fltk-2.0.x/receipt @ rev 2990

Up linux (2.6.29.3)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon May 11 19:08:50 2009 +0200 (2009-05-11)
parents
children da1f31fbbf36
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"
10 BUILD_DEPENDS="xorg-dev xorg-libXft-dev mesa mesa-dev"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WEB_SITE="http://www.fltk.org/"
13 WGET_URL="http://ftp.easysw.com/pub/fltk/snapshots/$TARBALL"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure \
20 --prefix=/usr \
21 --mandir=/usr/share/man \
22 --enable-shared \
23 --enable-xft \
24 $CONFIGURE_ARGS &&
25 make &&
26 cp -f fltk2-config /usr/bin &&
27 make DESTDIR=$PWD/_pkg install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/lib
34 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
35 # Remove gl support --> fltk-2.0.x-gl
36 rm $fs/usr/lib/libfltk2*gl*
37 }