wok-next view fltk/receipt @ rev 13796
mesa-dev: update deps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jan 05 14:44:51 2013 +0100 (2013-01-05) |
parents | 82c4cce3b3f8 |
children | a00bf44ed23d |
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 TARBALL="$PACKAGE-$VERSION-source.tar.gz"
9 WEB_SITE="http://www.fltk.org/"
10 WGET_URL="http://ftp.easysw.com/pub/fltk/$VERSION/$TARBALL"
12 DEPENDS="expat fontconfig freetype libpng jpeg xorg-libX11 xorg-libXau xorg-libXdmcp \
13 xorg-libXext xorg-libXft xorg-libXrender zlib libpng gcc-lib-base mesa libglu-mesa"
14 BUILD_DEPENDS="jpeg-dev libpng-dev libglu-mesa libglu-mesa-dev mesa mesa-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure \
21 --prefix=/usr \
22 --mandir=/usr/share/man \
23 --enable-shared \
24 --enable-xft \
25 --enable-threads \
26 $CONFIGURE_ARGS &&
27 make $MAKEFLAGS &&
28 make DESTDIR=$DESTDIR install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/bin $fs/usr/lib $fs/usr/share/pixmaps
35 cp -a $install/usr/bin/fluid $fs/usr/bin
36 cp -a $install/usr/lib/*.so* $fs/usr/lib
37 cp $src/fluid/icons/fluid-32.png $fs/usr/share/pixmaps/fluid.png
38 }