wok-next annotate gegl/receipt @ rev 4447
tazbb: generate flavors
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Nov 07 16:24:17 2009 +0100 (2009-11-07) |
parents | e8024c01fc47 |
children | fc5b4fce2dc0 |
rev | line source |
---|---|
erjo@1645 | 1 # SliTaz package receipt. |
erjo@1645 | 2 |
erjo@1645 | 3 PACKAGE="gegl" |
erjo@2962 | 4 VERSION="0.0.22" |
erjo@1645 | 5 CATEGORY="system-tools" |
erjo@1645 | 6 SHORT_DESC="Generic Graphics Library" |
erjo@1645 | 7 MAINTAINER="erjo@slitaz.org" |
pankso@4244 | 8 DEPENDS="babl expat gtk+ jpeg xorg-libX11 xorg-libXau xorg-libXcomposite \ |
pankso@4244 | 9 xorg-libXcursor xorg-libXdmcp xorg-libXext xorg-libXfixes xorg-libXinerama \ |
pankso@4244 | 10 xorg-libXrandr xorg-libXrender xorg-libXdamage bzlib" |
pankso@4244 | 11 BUILD_DEPENDS="babl-dev jpeg-dev expat-dev xorg-dev" |
erjo@1645 | 12 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
erjo@1645 | 13 WEB_SITE="http://gegl.org/" |
erjo@1645 | 14 WGET_URL="ftp://ftp.gimp.org/pub/gegl/0.0/$TARBALL" |
erjo@1645 | 15 |
erjo@1645 | 16 # Rules to configure and make the package. |
erjo@1645 | 17 compile_rules() |
erjo@1645 | 18 { |
erjo@1645 | 19 cd $src |
pankso@4244 | 20 # Keep gegl light so we can make smaller gimp LiveCD flavors |
pankso@4244 | 21 ./configure \ |
pankso@4244 | 22 --prefix=/usr \ |
erjo@1645 | 23 --disable-docs \ |
pankso@4244 | 24 --without-sdl \ |
pankso@4244 | 25 --without-librsvg \ |
pankso@4244 | 26 --without-graphviz \ |
pankso@4244 | 27 --without-lua \ |
pankso@4244 | 28 --without-libavformat \ |
pankso@4244 | 29 --without-libv4l \ |
pankso@3362 | 30 $CONFIGURE_ARGS && |
erjo@1645 | 31 make && make DESTDIR=$PWD/_pkg install |
erjo@1645 | 32 } |
erjo@1645 | 33 |
erjo@1645 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@1645 | 35 genpkg_rules() |
erjo@1645 | 36 { |
erjo@1645 | 37 mkdir -p $fs/usr/lib/gegl |
erjo@1645 | 38 cp -a $_pkg/usr/bin $fs/usr |
erjo@1645 | 39 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
erjo@1645 | 40 cp -a $_pkg/usr/lib/gegl-0.0/*.so* $fs/usr/lib/gegl |
erjo@1645 | 41 } |