wok annotate babl/receipt @ rev 21803

created recipe for nnn 2.6
author Hans-G?nter Theisgen
date Sat Aug 10 20:59:16 2019 +0100 (2019-08-10)
parents c1cdacb7defd
children 44de6fc18c6b
rev   line source
erjo@1645 1 # SliTaz package receipt.
erjo@1645 2
erjo@1645 3 PACKAGE="babl"
devl547@19887 4 VERSION="0.1.24"
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/"
devl547@19887 11 WGET_URL="http://download.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