wok-current view exiv2/receipt @ rev 20566

tcc: force arch
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Dec 12 23:37:24 2018 +0100 (2018-12-12)
parents 62b66edb40b5
children 37d9b4cadcbe
line source
1 # SliTaz package receipt.
3 PACKAGE="exiv2"
4 VERSION="0.26"
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-trunk.tar.gz"
10 WEB_SITE="http://www.exiv2.org/"
11 WGET_URL="$WEB_SITE/builds/$TARBALL"
12 HOST_ARCH="i486 arm"
14 DEPENDS="expat zlib gcc-lib-base"
15 BUILD_DEPENDS="gcc-lib-base expat-dev zlib-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
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 }