wok-next view gexiv2/receipt @ rev 21727

created recipe for vbindiff
author Hans-G?nter Theisgen
date Sat Nov 21 14:32:44 2020 +0100 (2020-11-21)
parents d5aab818505e
children
line source
1 # SliTaz package receipt v2.
3 PACKAGE="gexiv2"
4 VERSION="0.12.1"
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="curl-dev exiv2-dev glib-dev gobject-introspection-dev
15 libssh-dev meson ninja vala"
16 SPLIT="$PACKAGE-dev"
18 compile_rules()
19 {
20 meson build &&
21 ninja -C build &&
22 ninja -C build install
23 }
25 genpkg_rules()
26 {
27 case $PACKAGE in
28 gexiv2)
29 copy @std
30 DEPENDS="exiv2 glib libcurl libssh"
31 ;;
32 *-dev)
33 copy @dev
34 DEPENDS="gexiv2 exiv2-dev glib-dev"
35 ;;
36 esac
37 }