wok-next annotate babl/receipt @ rev 11927
Up: cookutils 1.6.2
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Thu Mar 01 00:50:49 2012 +0100 (2012-03-01) |
parents | 8c5d25861504 |
children | 71c4889c7559 |
rev | line source |
---|---|
erjo@1645 | 1 # SliTaz package receipt. |
erjo@1645 | 2 |
erjo@1645 | 3 PACKAGE="babl" |
samuel_trassare@11866 | 4 VERSION="0.1.6" |
erjo@1645 | 5 CATEGORY="system-tools" |
jozee@4932 | 6 SHORT_DESC="pixel format translation library." |
erjo@1645 | 7 MAINTAINER="erjo@slitaz.org" |
erjo@1645 | 8 DEPENDS="" |
erjo@1645 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
erjo@1645 | 10 WEB_SITE="http://gegl.org/babl/" |
slaxemulator@8315 | 11 WGET_URL="ftp://ftp.gimp.org/pub/$PACKAGE/${VERSION%.*}/$TARBALL" |
erjo@1645 | 12 |
erjo@1645 | 13 # Rules to configure and make the package. |
erjo@1645 | 14 compile_rules() |
erjo@1645 | 15 { |
erjo@1645 | 16 cd $src |
erjo@1645 | 17 ./configure --prefix=/usr --infodir=/usr/share/info \ |
erjo@1645 | 18 --mandir=/usr/share/man $CONFIGURE_ARGS && \ |
erjo@1645 | 19 make && make DESTDIR=$PWD/_pkg 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 |
erjo@1645 | 26 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
slaxemulator@8316 | 27 cp -a $_pkg/usr/lib/babl-* $fs/usr/lib |
erjo@1645 | 28 } |
erjo@1645 | 29 |