wok view fltk/receipt @ rev 12436
libccls: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Apr 21 17:47:57 2012 +0200 (2012-04-21) |
parents | d1768332cee0 |
children | 6b09507225ec |
line source
1 # SliTaz package receipt.
3 PACKAGE="fltk"
4 VERSION="1.3.0"
5 CATEGORY="system-tools"
6 SHORT_DESC="Fast Light Tool Kit (provide fluid)."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="expat fontconfig freetype libpng jpeg xorg-libX11 xorg-libXau xorg-libXdmcp \
9 xorg-libXext xorg-libXft xorg-libXrender zlib libpng gcc-lib-base mesa libglu-mesa"
10 BUILD_DEPENDS="jpeg-dev libpng-dev libglu-mesa mesa mesa-dev"
11 TARBALL="$PACKAGE-$VERSION-source.tar.gz"
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 --enable-threads \
25 $CONFIGURE_ARGS &&
26 make $MAKEFLAGS &&
27 make DESTDIR=$PWD/_pkg install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/bin $fs/usr/lib $fs/usr/share/pixmaps
34 cp -a $_pkg/usr/bin/fluid $fs/usr/bin
35 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
36 cp $src/fluid/icons/fluid-32.png $fs/usr/share/pixmaps/fluid.png
37 }