wok view gegl/receipt @ rev 5012
rm rpm in for loop to save RAM (thanks Eric)
author | Rohit Joshi <jozee@slitaz.org> |
---|---|
date | Sun Feb 28 19:50:05 2010 +0000 (2010-02-28) |
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 }