wok-6.x view fltk/receipt @ rev 3455

slitaz-dev-tools: Tiny edits
author Paul Issott <paul@slitaz.org>
date Mon Jun 15 16:47:11 2009 +0000 (2009-06-15)
parents 3eacc9c96968
children c9c3cd46aa1a
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"
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 ./configure \
20 --prefix=/usr \
21 --mandir=/usr/share/man \
22 --enable-shared \
23 --enable-xft \
24 $CONFIGURE_ARGS &&
25 make &&
26 make DESTDIR=$PWD/_pkg install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/bin $fs/usr/lib $fs/usr/share/pixmaps
33 cp -a $_pkg/usr/bin/fluid $fs/usr/bin
34 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
35 cp $src/fluid/icons/fluid-32.png $fs/usr/share/pixmaps/fluid.png
36 }