wok view fltk/receipt @ rev 1315

php*: add apache support
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Aug 27 18:48:42 2008 +0000 (2008-08-27)
parents
children e13aa4c04576
line source
1 # SliTaz package receipt.
3 PACKAGE="fltk"
4 VERSION="1.1.9rc1"
5 CATEGORY="system-tools"
6 SHORT_DESC="Fast Light Tool Kit (provide fluid)."
7 MAINTAINER="pankso@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION-source.tar.bz2"
9 WEB_SITE="http://www.fltk.org/"
10 WGET_URL="http://mirror.nu6.org/ftp.easysw.com/pub/fltk//$VERSION/$TARBALL"
12 # Rules to configure and make the package.
13 compile_rules()
14 {
15 cd $src
16 ./configure \
17 --prefix=/usr \
18 --mandir=/usr/share/man \
19 --enable-shared \
20 --enable-xft \
21 $CONFIGURE_ARGS
22 make
23 make DESTDIR=$PWD/_pkg install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/bin $fs/usr/lib $fs/usr/share/pixmaps
30 cp -a $_pkg/usr/bin/fluid $fs/usr/bin
31 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
32 cp $src/fluid/icons/fluid-32.png $fs/usr/share/pixmaps/fluid.png
33 }