wok view exiv2/receipt @ rev 22261
libdvdread-dev: install dvdread.pc in pkgconfig directory
author | Richard Dunbar <mojo@slitaz.org> |
---|---|
date | Tue Nov 12 23:58:25 2019 -0500 (2019-11-12) |
parents | 37d9b4cadcbe |
children | df869cf023e0 |
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="https://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 }