wok annotate exiv2/receipt @ rev 15669
iptables: rm *.pc files, mv bin files to /usr/sbin
author | Richard Dunbar <mojo@slitaz.org> |
---|---|
date | Wed Dec 18 00:14:55 2013 +0000 (2013-12-18) |
parents | 1827b3b42e7c |
children | 62b66edb40b5 |
rev | line source |
---|---|
jozee@2725 | 1 # SliTaz package receipt. |
jozee@2725 | 2 |
jozee@2725 | 3 PACKAGE="exiv2" |
slaxemulator@8369 | 4 VERSION="0.21" |
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@15588 | 8 LICENSE="GPL2" |
jozee@2725 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@4228 | 10 WEB_SITE="http://www.exiv2.org/" |
jozee@2725 | 11 WGET_URL="$WEB_SITE/$TARBALL" |
jozee@2725 | 12 |
pascal@15588 | 13 DEPENDS="expat zlib gcc-lib-base" |
pascal@15588 | 14 BUILD_DEPENDS="gcc-lib-base expat-dev zlib-dev" |
pascal@15588 | 15 |
jozee@2725 | 16 # Rules to configure and make the package. |
jozee@2725 | 17 compile_rules() |
jozee@2725 | 18 { |
jozee@2725 | 19 cd $src |
pankso@4228 | 20 ./configure \ |
pankso@4228 | 21 --prefix=/usr \ |
pankso@4228 | 22 $CONFIGURE_ARGS && |
pankso@4228 | 23 make && |
pascal@15588 | 24 make DESTDIR=$DESTDIR install |
jozee@2725 | 25 } |
jozee@2725 | 26 |
jozee@2725 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@2725 | 28 genpkg_rules() |
jozee@2725 | 29 { |
jozee@2725 | 30 mkdir -p $fs/usr/lib |
pascal@15588 | 31 cp -a $install/usr/bin $fs/usr |
pascal@15588 | 32 cp -a $install/usr/lib/*.so* $fs/usr/lib |
jozee@2725 | 33 } |