wok view gegl/receipt @ rev 25707

Up perl-net-pcap (0.21), qtermwidget (0.5.1), youtube-dl-gui (0.3.8)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Jul 05 14:08:34 2024 +0000 (3 months ago)
parents bd7510903310
children
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;/arent dir/d;/>-</!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 }