wok-next view gegl/receipt @ rev 20458

Unlock x86_64 architecture
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Mar 02 12:12:14 2018 +0200 (2018-03-02)
parents dba630a8d980
children 4396aed7eb01
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 jasper-dev intltool"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 # Keep gegl light so we can make smaller gimp LiveCD flavors
20 ./configure \
21 --disable-docs \
22 --without-sdl \
23 --without-librsvg \
24 --without-graphviz \
25 --without-lua \
26 --without-libavformat \
27 --without-libv4l \
28 $CONFIGURE_ARGS &&
29 make && make install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/lib
36 cp -a $install/usr/bin $fs/usr
37 cp -a $install/usr/lib/*.so* $fs/usr/lib
38 cp -a $install/usr/lib/gegl-* $fs/usr/lib
39 rm $fs/usr/lib/gegl-*/*.*a
40 }