wok view gegl/receipt @ rev 5798
Speedup some builds
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jul 11 13:20:19 2010 +0200 (2010-07-11) |
parents | fb4d44366d13 |
children | 83d15a3c1b2f |
line source
1 # SliTaz package receipt.
3 PACKAGE="gegl"
4 VERSION="0.1.0"
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"
11 BUILD_DEPENDS="babl-dev jpeg-dev expat-dev xorg-dev"
12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
13 WEB_SITE="http://gegl.org/"
14 WGET_URL="ftp://ftp.gimp.org/pub/gegl/0.1/$TARBALL"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 # Keep gegl light so we can make smaller gimp LiveCD flavors
21 ./configure \
22 --prefix=/usr \
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 DESTDIR=$PWD/_pkg 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.0/*.so* $fs/usr/lib/gegl
41 }