wok view exiv2/receipt @ rev 21106

updated lfs-book (7.3 -> 8.4)
author Hans-G?nter Theisgen
date Tue Mar 19 13:56:25 2019 +0100 (2019-03-19)
parents cd48039e6658
children 364099c9aff2
line source
1 # SliTaz package receipt.
3 PACKAGE="exiv2"
4 VERSION="0.27.0a"
5 CATEGORY="graphics"
6 SHORT_DESC="Exif and Iptc metadata manipulation library and tools"
7 MAINTAINER="jozee@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://www.exiv2.org/"
11 TARBALL="$PACKAGE-$VERSION-Source.tar.gz"
12 WGET_URL="$WEB_SITE/builds/$TARBALL"
13 HOST_ARCH="i486 arm"
15 DEPENDS="expat zlib gcc-lib-base"
16 BUILD_DEPENDS="cmake gcc-lib-base expat-dev zlib-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 mkdir build
22 cd build
23 cmake .. -G "Unix Makefiles" \
24 -DCMAKE_INSTALL_PREFIX=/usr &&
25 cmake --build . &&
26 make -j 1 &&
27 make DESTDIR=$DESTDIR install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/lib
34 cp -a $install/usr/bin $fs/usr
35 cp -a $install/usr/lib/*.so* $fs/usr/lib
36 }