wok-6.x view exiv2/receipt @ rev 15602
Use DESTDIR
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Dec 05 20:42:36 2013 +0000 (2013-12-05) |
parents | 1827b3b42e7c |
children | 62b66edb40b5 |
line source
1 # SliTaz package receipt.
3 PACKAGE="exiv2"
4 VERSION="0.21"
5 CATEGORY="graphics"
6 SHORT_DESC="Exif and Iptc metadata manipulation library and tools"
7 MAINTAINER="jozee@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.exiv2.org/"
11 WGET_URL="$WEB_SITE/$TARBALL"
13 DEPENDS="expat zlib gcc-lib-base"
14 BUILD_DEPENDS="gcc-lib-base expat-dev zlib-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure \
21 --prefix=/usr \
22 $CONFIGURE_ARGS &&
23 make &&
24 make DESTDIR=$DESTDIR install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/lib
31 cp -a $install/usr/bin $fs/usr
32 cp -a $install/usr/lib/*.so* $fs/usr/lib
33 }