wok-current annotate babl/receipt @ rev 19620

Up slitaz-configs(300)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Jan 10 16:37:33 2017 +0200 (2017-01-10)
parents 7d6089953592
children ec8a5b44e2fd
rev   line source
erjo@1645 1 # SliTaz package receipt.
erjo@1645 2
erjo@1645 3 PACKAGE="babl"
pankso@12737 4 VERSION="0.1.10"
erjo@1645 5 CATEGORY="system-tools"
jozee@4932 6 SHORT_DESC="pixel format translation library."
erjo@1645 7 MAINTAINER="erjo@slitaz.org"
pascal@14997 8 LICENSE="LGPL3"
erjo@1645 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
erjo@1645 10 WEB_SITE="http://gegl.org/babl/"
slaxemulator@12365 11 WGET_URL="ftp://ftp.gimp.org/pub/$PACKAGE/${VERSION:0:3}/$TARBALL"
pankso@16580 12 HOST_ARCH="i486 arm"
erjo@1645 13
erjo@1645 14 # Rules to configure and make the package.
erjo@1645 15 compile_rules()
erjo@1645 16 {
slaxemulator@12365 17 ./configure \
slaxemulator@12365 18 $CONFIGURE_ARGS && \
pankso@12737 19 make && make install
erjo@1645 20 }
erjo@1645 21
erjo@1645 22 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@1645 23 genpkg_rules()
erjo@1645 24 {
erjo@1645 25 mkdir -p $fs/usr/lib
pankso@12737 26 cp -a $install/usr/lib/*.so* $fs/usr/lib
pankso@12737 27 cp -a $install/usr/lib/babl-* $fs/usr/lib
pankso@12737 28 rm $fs/usr/lib/babl-*/*.*a
erjo@1645 29 }
erjo@1645 30