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

locale-cs: Up and add desktopbox messages (Thanks Milos)
author Christophe Lincoln <pankso@slitaz.org>
date Tue May 12 00:26:08 2009 +0200 (2009-05-12)
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 }