wok view fltk/receipt @ rev 15892
Up musl-libc (0.9.15)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Feb 11 16:07:13 2014 +0000 (2014-02-11) |
parents | 6b09507225ec |
children | 53082fab5f1e |
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 LICENSE="LGPL2"
9 TARBALL="$PACKAGE-$VERSION-source.tar.gz"
10 WEB_SITE="http://www.fltk.org/"
11 WGET_URL="http://ftp.easysw.com/pub/fltk/$VERSION/$TARBALL"
13 DEPENDS="expat fontconfig freetype libpng jpeg xorg-libX11 xorg-libXau xorg-libXdmcp \
14 xorg-libXext xorg-libXft xorg-libXrender zlib libpng gcc-lib-base mesa libglu-mesa"
15 BUILD_DEPENDS="jpeg-dev libpng-dev libglu-mesa libglu-mesa-dev mesa mesa-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 ./configure \
22 --prefix=/usr \
23 --mandir=/usr/share/man \
24 --enable-shared \
25 --enable-xft \
26 --enable-threads \
27 $CONFIGURE_ARGS &&
28 make $MAKEFLAGS &&
29 make DESTDIR=$DESTDIR install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/bin $fs/usr/lib $fs/usr/share/pixmaps
36 cp -a $install/usr/bin/fluid $fs/usr/bin
37 cp -a $install/usr/lib/*.so* $fs/usr/lib
38 cp $src/fluid/icons/fluid-32.png $fs/usr/share/pixmaps/fluid.png
39 }