wok-next view gexiv2/receipt @ rev 20718

paulstretch: fix build
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sun May 27 15:09:21 2018 +0300 (2018-05-27)
parents
children d5aab818505e
line source
1 # SliTaz package receipt v2.
3 PACKAGE="gexiv2"
4 VERSION="0.10.8"
5 CATEGORY="libs"
6 SHORT_DESC="GObject wrapper around the Exiv2 photo metadata library"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL2"
9 WEB_SITE="https://wiki.gnome.org/Projects/gexiv2"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
14 BUILD_DEPENDS="glib-dev exiv2-dev gobject-introspection-dev vala"
15 SPLIT="gexiv2-dev"
17 compile_rules() {
18 ./configure $CONFIGURE_ARGS &&
19 fix libtool &&
20 make &&
21 make install
22 }
24 genpkg_rules() {
25 case $PACKAGE in
26 gexiv2)
27 copy @std
28 DEPENDS="exiv2 glib"
29 ;;
30 *-dev)
31 copy @dev
32 DEPENDS="gexiv2 exiv2-dev glib-dev"
33 ;;
34 esac
35 }