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

Remove: dillo-hg (older than 2.2)
author Antoine Bodin <gokhlayeh@slitaz.org>
date Mon Feb 14 05:27:38 2011 +0100 (2011-02-14)
parents 9f19aee613be
children b3a4d3cb8228
line source
1 # SliTaz package receipt.
3 PACKAGE="fltk-2.0.x"
4 VERSION="r7725"
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 || return 1
21 patch -Np1 < ../libpng14.patch || return 1
22 ./configure \
23 --prefix=/usr \
24 --mandir=/usr/share/man \
25 --enable-shared \
26 --enable-xft \
27 $CONFIGURE_ARGS &&
28 make &&
29 cp -f fltk2-config /usr/bin &&
30 make DESTDIR=$PWD/_pkg install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/lib
37 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
38 # Remove gl support --> fltk-2.0.x-gl
39 rm $fs/usr/lib/libfltk2*gl*
40 }