wok-6.x annotate babl/receipt @ rev 10447
asterisk: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed May 25 10:11:35 2011 +0200 (2011-05-25) |
parents | 797239338cd7 |
children | e631119ef303 |
rev | line source |
---|---|
erjo@1645 | 1 # SliTaz package receipt. |
erjo@1645 | 2 |
erjo@1645 | 3 PACKAGE="babl" |
slaxemulator@8312 | 4 VERSION="0.1.4" |
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 |