wok view gegl/receipt @ rev 15002

Add some GPL2 licenses
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Aug 10 21:12:16 2013 +0000 (2013-08-10)
parents a361ec7ffbef
children c1cdacb7defd
line source
1 # SliTaz package receipt.
3 PACKAGE="gegl"
4 VERSION="0.2.0"
5 CATEGORY="system-tools"
6 SHORT_DESC="Generic Graphics Library"
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="GPL3"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://gegl.org/"
11 WGET_URL="ftp://ftp.gimp.org/pub/$PACKAGE/${VERSION%.*}/$TARBALL"
13 DEPENDS="babl expat gtk+ jpeg xorg-libX11"
14 BUILD_DEPENDS="babl-dev expat-dev gtk+-dev xorg-dev"
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 --disable-docs \
23 --without-sdl \
24 --without-librsvg \
25 --without-graphviz \
26 --without-lua \
27 --without-libavformat \
28 --without-libv4l \
29 $CONFIGURE_ARGS &&
30 make && make install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/lib
37 cp -a $install/usr/bin $fs/usr
38 cp -a $install/usr/lib/*.so* $fs/usr/lib
39 cp -a $install/usr/lib/gegl-* $fs/usr/lib
40 rm $fs/usr/lib/gegl-*/*.*a
41 }