wok-6.x annotate 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 |
rev | line source |
---|---|
erjo@1645 | 1 # SliTaz package receipt. |
erjo@1645 | 2 |
erjo@1645 | 3 PACKAGE="gegl" |
slaxemulator@8754 | 4 VERSION="0.1.6" |
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 \ |
slaxemulator@6188 | 10 xorg-libXrandr xorg-libXrender xorg-libXdamage bzlib zlib" |
erjo@1645 | 11 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
erjo@1645 | 12 WEB_SITE="http://gegl.org/" |
slaxemulator@8313 | 13 WGET_URL="ftp://ftp.gimp.org/pub/$PACKAGE/${VERSION%.*}/$TARBALL" |
erjo@1645 | 14 |
erjo@1645 | 15 # Rules to configure and make the package. |
erjo@1645 | 16 compile_rules() |
erjo@1645 | 17 { |
erjo@1645 | 18 cd $src |
pankso@4244 | 19 # Keep gegl light so we can make smaller gimp LiveCD flavors |
pankso@4244 | 20 ./configure \ |
erjo@1645 | 21 --disable-docs \ |
pankso@4244 | 22 --without-sdl \ |
pankso@4244 | 23 --without-librsvg \ |
pankso@4244 | 24 --without-graphviz \ |
pankso@4244 | 25 --without-lua \ |
pankso@4244 | 26 --without-libavformat \ |
slaxemulator@8964 | 27 --without-libv4l && |
slaxemulator@8964 | 28 make && make install |
erjo@1645 | 29 } |
erjo@1645 | 30 |
erjo@1645 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@1645 | 32 genpkg_rules() |
erjo@1645 | 33 { |
erjo@1645 | 34 mkdir -p $fs/usr/lib/gegl |
erjo@1645 | 35 cp -a $_pkg/usr/bin $fs/usr |
erjo@1645 | 36 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
slaxemulator@6188 | 37 cp -a $_pkg/usr/lib/gegl-0.1/*.so* $fs/usr/lib/gegl |
erjo@1645 | 38 } |