wok-next annotate exiv2/receipt @ rev 5348
Up: mercurial (1.5.1)
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Wed Apr 28 10:54:24 2010 +0000 (2010-04-28) |
parents | ec142b71c3e7 |
children | 9a591e946b0d |
rev | line source |
---|---|
jozee@2725 | 1 # SliTaz package receipt. |
jozee@2725 | 2 |
jozee@2725 | 3 PACKAGE="exiv2" |
pankso@4228 | 4 VERSION="0.18.2" |
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" |
pascal@5000 | 8 DEPENDS="expat zlib gcc-lib-base" |
jozee@2725 | 9 BUILD_DEPENDS="gcc-lib-base expat-dev zlib-dev" |
jozee@2725 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@4228 | 11 WEB_SITE="http://www.exiv2.org/" |
jozee@2725 | 12 WGET_URL="$WEB_SITE/$TARBALL" |
jozee@2725 | 13 |
jozee@2725 | 14 # Rules to configure and make the package. |
jozee@2725 | 15 compile_rules() |
jozee@2725 | 16 { |
jozee@2725 | 17 cd $src |
pankso@4228 | 18 ./configure \ |
pankso@4228 | 19 --prefix=/usr \ |
pankso@4228 | 20 $CONFIGURE_ARGS && |
pankso@4228 | 21 make && |
jozee@2725 | 22 make DESTDIR=$PWD/_pkg install |
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 { |
pankso@4228 | 28 mkdir -p $fs/usr/bin |
jozee@2725 | 29 mkdir -p $fs/usr/lib |
jozee@2725 | 30 cp -a $_pkg/usr/bin $fs/usr |
pankso@4228 | 31 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
jozee@2725 | 32 } |