wok annotate babl/receipt @ rev 5674
Add gammu (control cell phone lib)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun May 30 19:13:51 2010 +0200 (2010-05-30) |
parents | a28e4dde2eb1 |
children | b262e6729c5f |
rev | line source |
---|---|
erjo@1645 | 1 # SliTaz package receipt. |
erjo@1645 | 2 |
erjo@1645 | 3 PACKAGE="babl" |
pankso@4681 | 4 VERSION="0.1.0" |
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/" |
pankso@4681 | 11 WGET_URL="ftp://ftp.gtk.org/pub/babl/0.1/$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 |