wok-current view fltk/receipt @ rev 6062
tazbb: preserve hotfixes in tazwok & tazpkg
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Aug 21 13:58:44 2010 +0200 (2010-08-21) |
parents | c9c3cd46aa1a |
children | 9a4978154492 |
line source
1 # SliTaz package receipt.
3 PACKAGE="fltk"
4 VERSION="1.1.9"
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 gcc-lib-base"
10 BUILD_DEPENDS="xorg-dev"
11 TARBALL="$PACKAGE-$VERSION-source.tar.bz2"
12 WEB_SITE="http://www.fltk.org/"
13 WGET_URL="http://ftp.easysw.com/pub/fltk/$VERSION/$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 patch -p 0 < ../stuff/fl_set_fonts_xft.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 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/bin $fs/usr/lib $fs/usr/share/pixmaps
35 cp -a $_pkg/usr/bin/fluid $fs/usr/bin
36 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
37 cp $src/fluid/icons/fluid-32.png $fs/usr/share/pixmaps/fluid.png
38 }