wok-current view gegl/receipt @ rev 4244

gegl: make package smaller and with less deps
author Christophe Lincoln <pankso@slitaz.org>
date Thu Sep 24 22:50:22 2009 +0200 (2009-09-24)
parents e8024c01fc47
children fc5b4fce2dc0
line source
1 # SliTaz package receipt.
3 PACKAGE="gegl"
4 VERSION="0.0.22"
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.0/$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 }