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

Up: ndiswrapper-driver, utils;fix WGET_URL
author Rohit Joshi <jozee@slitaz.org>
date Thu Nov 05 19:41:12 2009 +0000 (2009-11-05)
parents 3a3ac96180a9
children 9f19aee613be
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 patch -p 0 < ../stuff/filename_list-dirent.patch || exit 1
20 ./configure \
21 --prefix=/usr \
22 --mandir=/usr/share/man \
23 --enable-shared \
24 --enable-xft \
25 $CONFIGURE_ARGS &&
26 make &&
27 cp -f fltk2-config /usr/bin &&
28 make DESTDIR=$PWD/_pkg install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/lib
35 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
36 # Remove gl support --> fltk-2.0.x-gl
37 rm $fs/usr/lib/libfltk2*gl*
38 }