wok-next annotate 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 |
rev | line source |
---|---|
al@20700 | 1 # SliTaz package receipt v2. |
al@20700 | 2 |
al@20700 | 3 PACKAGE="gexiv2" |
Hans-G?nter@21679 | 4 VERSION="0.12.1" |
al@20700 | 5 CATEGORY="libs" |
al@20700 | 6 SHORT_DESC="GObject wrapper around the Exiv2 photo metadata library" |
al@20700 | 7 MAINTAINER="al.bobylev@gmail.com" |
al@20700 | 8 LICENSE="GPL2" |
al@20700 | 9 WEB_SITE="https://wiki.gnome.org/Projects/gexiv2" |
al@20700 | 10 |
al@20700 | 11 TARBALL="$PACKAGE-$VERSION.tar.xz" |
al@20700 | 12 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL" |
al@20700 | 13 |
Hans-G?nter@21679 | 14 BUILD_DEPENDS="curl-dev exiv2-dev glib-dev gobject-introspection-dev |
Hans-G?nter@21679 | 15 libssh-dev meson ninja vala" |
al@21020 | 16 SPLIT="$PACKAGE-dev" |
al@20700 | 17 |
Hans-G?nter@21679 | 18 compile_rules() |
Hans-G?nter@21679 | 19 { |
Hans-G?nter@21679 | 20 meson build && |
Hans-G?nter@21679 | 21 ninja -C build && |
Hans-G?nter@21679 | 22 ninja -C build install |
al@20700 | 23 } |
al@20700 | 24 |
Hans-G?nter@21679 | 25 genpkg_rules() |
Hans-G?nter@21679 | 26 { |
al@20700 | 27 case $PACKAGE in |
al@20700 | 28 gexiv2) |
al@20700 | 29 copy @std |
Hans-G?nter@21679 | 30 DEPENDS="exiv2 glib libcurl libssh" |
al@20700 | 31 ;; |
al@20700 | 32 *-dev) |
al@20700 | 33 copy @dev |
al@20700 | 34 DEPENDS="gexiv2 exiv2-dev glib-dev" |
al@20700 | 35 ;; |
al@20700 | 36 esac |
al@20700 | 37 } |