wok-stable annotate babl/receipt @ rev 4465
Up: slitaz-mercurial-style (2.0)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun Nov 08 23:30:24 2009 +0100 (2009-11-08) |
parents | |
children | a28e4dde2eb1 |
rev | line source |
---|---|
erjo@1645 | 1 # SliTaz package receipt. |
erjo@1645 | 2 |
erjo@1645 | 3 PACKAGE="babl" |
erjo@1645 | 4 VERSION="0.0.22" |
erjo@1645 | 5 CATEGORY="system-tools" |
erjo@1645 | 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/" |
erjo@1645 | 11 WGET_URL="ftp://ftp.gtk.org/pub/babl/0.0/$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 |
erjo@1645 | 27 cp -a $_pkg/usr/lib/babl-0.0 $fs/usr/lib |
erjo@1645 | 28 } |
erjo@1645 | 29 |