wok view gegl/receipt @ rev 10835

lua: improve receipt and build optimisation
author Christophe Lincoln <pankso@slitaz.org>
date Wed Jun 08 23:16:35 2011 +0200 (2011-06-08)
parents 5f408eae7042
children a361ec7ffbef
line source
1 # SliTaz package receipt.
3 PACKAGE="gegl"
4 VERSION="0.1.6"
5 CATEGORY="system-tools"
6 SHORT_DESC="Generic Graphics Library"
7 MAINTAINER="erjo@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
9 WEB_SITE="http://gegl.org/"
10 WGET_URL="ftp://ftp.gimp.org/pub/$PACKAGE/${VERSION%.*}/$TARBALL"
12 DEPENDS="babl expat gtk+ jpeg xorg-libX11 xorg-libXau xorg-libXcomposite \
13 xorg-libXcursor xorg-libXdmcp xorg-libXext xorg-libXfixes xorg-libXinerama \
14 xorg-libXrandr xorg-libXrender xorg-libXdamage bzlib zlib"
15 BUILD_DEPENDS="babl-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 # Keep gegl light so we can make smaller gimp LiveCD flavors
22 ./configure \
23 --disable-docs \
24 --without-sdl \
25 --without-librsvg \
26 --without-graphviz \
27 --without-lua \
28 --without-libavformat \
29 --without-libv4l \
30 $CONFIGURE_ARGS &&
31 make && make install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/lib/gegl
38 cp -a $_pkg/usr/bin $fs/usr
39 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
40 cp -a $_pkg/usr/lib/gegl-0.1/*.so* $fs/usr/lib/gegl
41 }