wok view gegl/receipt @ rev 25039

Up aspell-pl (6.0_20210731-0), icmptx (20190501)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu May 26 14:53:15 2022 +0000 (2022-05-26)
parents aba2c5ca9a66
children b81ceff0b056
line source
1 # SliTaz package receipt.
3 PACKAGE="gegl"
4 VERSION="0.3.12"
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="https://gegl.org/"
11 WGET_URL="https://download.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 json-glib-dev \
16 util-linux-mount-dev"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - https://download.gimp.org/pub/$PACKAGE/ 2>/dev/null | \
22 sed "/latest/d;/\[DIR/!d;s|.*href=.\\(.*\\)/.*\".*|https://download.gimp.org/pub/$PACKAGE/\\1/|" | \
23 sort -Vr | sed q | xargs wget -O - 2>/dev/null | \
24 sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
25 }
27 # Rules to configure and make the package.
28 compile_rules()
29 {
30 # Keep gegl light so we can make smaller gimp LiveCD flavors
31 ./configure \
32 --disable-docs \
33 --without-sdl \
34 --without-librsvg \
35 --without-graphviz \
36 --without-lua \
37 --without-libavformat \
38 --without-libv4l \
39 $CONFIGURE_ARGS &&
40 make && make install
41 }
43 # Rules to gen a SliTaz package suitable for Tazpkg.
44 genpkg_rules()
45 {
46 mkdir -p $fs/usr/lib
47 cp -a $install/usr/bin $fs/usr
48 cp -a $install/usr/lib/*.so* $fs/usr/lib
49 cp -a $install/usr/lib/gegl-* $fs/usr/lib
50 rm $fs/usr/lib/gegl-*/*.*a
51 }