wok annotate exiv2/receipt @ rev 2786
Up: slitaz-eeepc (1.2)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon Apr 27 21:57:44 2009 +0200 (2009-04-27) |
parents | |
children | ec142b71c3e7 |
rev | line source |
---|---|
jozee@2725 | 1 # SliTaz package receipt. |
jozee@2725 | 2 |
jozee@2725 | 3 PACKAGE="exiv2" |
jozee@2725 | 4 VERSION="0.17.1" |
jozee@2725 | 5 CATEGORY="graphics" |
jozee@2725 | 6 SHORT_DESC="Exif and Iptc metadata manipulation library and tools" |
jozee@2725 | 7 MAINTAINER="jozee@slitaz.org" |
jozee@2725 | 8 DEPENDS="expat zlib" |
jozee@2725 | 9 BUILD_DEPENDS="gcc-lib-base expat-dev zlib-dev" |
jozee@2725 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
jozee@2725 | 11 WEB_SITE="http://www.exiv2.org/" |
jozee@2725 | 12 WGET_URL="$WEB_SITE/$TARBALL" |
jozee@2725 | 13 |
jozee@2725 | 14 |
jozee@2725 | 15 # Rules to configure and make the package. |
jozee@2725 | 16 compile_rules() |
jozee@2725 | 17 { |
jozee@2725 | 18 cd $src |
jozee@2725 | 19 ./configure --prefix=/usr |
jozee@2725 | 20 make |
jozee@2725 | 21 make DESTDIR=$PWD/_pkg install |
jozee@2725 | 22 |
jozee@2725 | 23 } |
jozee@2725 | 24 |
jozee@2725 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@2725 | 26 genpkg_rules() |
jozee@2725 | 27 { |
jozee@2725 | 28 mkdir -p $fs/usr/bin |
jozee@2725 | 29 mkdir -p $fs/usr/lib |
jozee@2725 | 30 cp -a $_pkg/usr/bin $fs/usr |
jozee@2725 | 31 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
jozee@2725 | 32 |
jozee@2725 | 33 } |