wok annotate gegl/receipt @ rev 14562

thunderbird-langpack-zh_TW: Up to 17.0.6esr
author Dominique Corbex <domcox@slitaz.org>
date Thu May 23 10:10:45 2013 +0200 (2013-05-23)
parents 26409685bf43
children 2b9f96603415
rev   line source
erjo@1645 1 # SliTaz package receipt.
erjo@1645 2
erjo@1645 3 PACKAGE="gegl"
pankso@12738 4 VERSION="0.2.0"
erjo@1645 5 CATEGORY="system-tools"
erjo@1645 6 SHORT_DESC="Generic Graphics Library"
erjo@1645 7 MAINTAINER="erjo@slitaz.org"
pankso@9782 8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pankso@9782 9 WEB_SITE="http://gegl.org/"
pankso@9782 10 WGET_URL="ftp://ftp.gimp.org/pub/$PACKAGE/${VERSION%.*}/$TARBALL"
pankso@9782 11
pankso@12738 12 DEPENDS="babl expat gtk+ jpeg xorg-libX11"
pankso@12738 13 BUILD_DEPENDS="babl-dev expat-dev gtk+-dev xorg-dev"
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@10333 27 --without-libv4l \
slaxemulator@10333 28 $CONFIGURE_ARGS &&
slaxemulator@8964 29 make && make install
erjo@1645 30 }
erjo@1645 31
erjo@1645 32 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@1645 33 genpkg_rules()
erjo@1645 34 {
pankso@12738 35 mkdir -p $fs/usr/lib
pankso@12738 36 cp -a $install/usr/bin $fs/usr
pankso@12738 37 cp -a $install/usr/lib/*.so* $fs/usr/lib
pankso@12738 38 cp -a $install/usr/lib/gegl-* $fs/usr/lib
pankso@12738 39 rm $fs/usr/lib/gegl-*/*.*a
erjo@1645 40 }