wok-6.x view gegl/receipt @ rev 9717

slitaz-toolchain: Let create a new toolchain in one command for cookutils
author Christophe Lincoln <pankso@slitaz.org>
date Mon May 09 01:35:10 2011 +0200 (2011-05-09)
parents 3495f64239ec
children 5f408eae7042
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 DEPENDS="babl expat gtk+ jpeg xorg-libX11 xorg-libXau xorg-libXcomposite \
9 xorg-libXcursor xorg-libXdmcp xorg-libXext xorg-libXfixes xorg-libXinerama \
10 xorg-libXrandr xorg-libXrender xorg-libXdamage bzlib zlib"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WEB_SITE="http://gegl.org/"
13 WGET_URL="ftp://ftp.gimp.org/pub/$PACKAGE/${VERSION%.*}/$TARBALL"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 # Keep gegl light so we can make smaller gimp LiveCD flavors
20 ./configure \
21 --disable-docs \
22 --without-sdl \
23 --without-librsvg \
24 --without-graphviz \
25 --without-lua \
26 --without-libavformat \
27 --without-libv4l &&
28 make && make install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/lib/gegl
35 cp -a $_pkg/usr/bin $fs/usr
36 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
37 cp -a $_pkg/usr/lib/gegl-0.1/*.so* $fs/usr/lib/gegl
38 }