wok annotate gegl/receipt @ rev 20539

linld: _fastcall calls (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Nov 29 10:54:56 2018 +0100 (2018-11-29)
parents ec8a5b44e2fd
children 05c8d8d9d934
rev   line source
erjo@1645 1 # SliTaz package receipt.
erjo@1645 2
erjo@1645 3 PACKAGE="gegl"
devl547@19887 4 VERSION="0.3.12"
erjo@1645 5 CATEGORY="system-tools"
erjo@1645 6 SHORT_DESC="Generic Graphics Library"
erjo@1645 7 MAINTAINER="erjo@slitaz.org"
pascal@14999 8 LICENSE="GPL3"
pankso@9782 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pankso@9782 10 WEB_SITE="http://gegl.org/"
devl547@19887 11 WGET_URL="http://download.gimp.org/pub/$PACKAGE/${VERSION%.*}/$TARBALL"
pankso@16580 12 HOST_ARCH="i486 arm"
pankso@9782 13
pankso@12738 14 DEPENDS="babl expat gtk+ jpeg xorg-libX11"
pascal@19888 15 BUILD_DEPENDS="babl-dev expat-dev gtk+-dev jasper-dev json-glib-dev \
devl547@19887 16 util-linux-mount-dev"
erjo@1645 17
erjo@1645 18 # Rules to configure and make the package.
erjo@1645 19 compile_rules()
erjo@1645 20 {
pankso@4244 21 # Keep gegl light so we can make smaller gimp LiveCD flavors
pankso@4244 22 ./configure \
erjo@1645 23 --disable-docs \
pankso@4244 24 --without-sdl \
pankso@4244 25 --without-librsvg \
pankso@4244 26 --without-graphviz \
pankso@4244 27 --without-lua \
pankso@4244 28 --without-libavformat \
slaxemulator@10333 29 --without-libv4l \
slaxemulator@10333 30 $CONFIGURE_ARGS &&
slaxemulator@8964 31 make && make install
erjo@1645 32 }
erjo@1645 33
erjo@1645 34 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@1645 35 genpkg_rules()
erjo@1645 36 {
pankso@12738 37 mkdir -p $fs/usr/lib
pankso@12738 38 cp -a $install/usr/bin $fs/usr
pankso@12738 39 cp -a $install/usr/lib/*.so* $fs/usr/lib
pankso@12738 40 cp -a $install/usr/lib/gegl-* $fs/usr/lib
pankso@12738 41 rm $fs/usr/lib/gegl-*/*.*a
erjo@1645 42 }