wok view fltk/receipt @ rev 2371

Add mmx-emu
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Mar 06 16:29:09 2009 +0000 (2009-03-06)
parents e13aa4c04576
children 3eacc9c96968
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 BUILD_DEPENDS="xorg-dev"
9 TARBALL="$PACKAGE-$VERSION-source.tar.bz2"
10 WEB_SITE="http://www.fltk.org/"
11 WGET_URL="http://ftp.easysw.com/pub/fltk/$VERSION/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 ./configure \
18 --prefix=/usr \
19 --mandir=/usr/share/man \
20 --enable-shared \
21 --enable-xft \
22 $CONFIGURE_ARGS &&
23 make &&
24 make DESTDIR=$PWD/_pkg install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/bin $fs/usr/lib $fs/usr/share/pixmaps
31 cp -a $_pkg/usr/bin/fluid $fs/usr/bin
32 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
33 cp $src/fluid/icons/fluid-32.png $fs/usr/share/pixmaps/fluid.png
34 }