wok-current view gegl/receipt @ rev 19870

linld: fix progname
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Mar 30 15:54:03 2017 +0200 (2017-03-30)
parents c1cdacb7defd
children ec8a5b44e2fd
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"
12 HOST_ARCH="i486 arm"
14 DEPENDS="babl expat gtk+ jpeg xorg-libX11"
15 BUILD_DEPENDS="babl-dev expat-dev gtk+-dev jasper-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
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 }