wok-current view exiv2/receipt @ rev 23806

linld: add isoboot
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun May 24 16:16:52 2020 +0000 (2020-05-24)
parents 364099c9aff2
children 5baa9d957a85
line source
1 # SliTaz package receipt.
3 PACKAGE="exiv2"
4 VERSION="0.27.2"
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="https://www.exiv2.org/"
11 TARBALL="$PACKAGE-$VERSION-Source.tar.gz"
12 WGET_URL="${WEB_SITE}builds/$TARBALL"
14 DEPENDS="expat gcc-lib-base zlib"
15 BUILD_DEPENDS="cmake expat-dev gcc-lib-base zlib-dev"
17 HOST_ARCH="i486 arm"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 mkdir build
23 cd build
24 cmake .. \
25 -G "Unix Makefiles" \
26 -DCMAKE_INSTALL_PREFIX=/usr &&
27 cmake --build . &&
28 make -j 1 &&
29 make DESTDIR=$DESTDIR install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/lib
37 cp -a $install/usr/bin $fs/usr
38 cp -a $install/usr/lib/*.so* $fs/usr/lib
39 }