wok-next annotate 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 |
rev | line source |
---|---|
al@20700 | 1 # SliTaz package receipt v2. |
al@20700 | 2 |
al@20700 | 3 PACKAGE="gexiv2" |
al@20700 | 4 VERSION="0.10.8" |
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 |
al@20700 | 14 BUILD_DEPENDS="glib-dev exiv2-dev gobject-introspection-dev vala" |
al@20700 | 15 SPLIT="gexiv2-dev" |
al@20700 | 16 |
al@20700 | 17 compile_rules() { |
al@20700 | 18 ./configure $CONFIGURE_ARGS && |
al@20700 | 19 fix libtool && |
al@20700 | 20 make && |
al@20700 | 21 make install |
al@20700 | 22 } |
al@20700 | 23 |
al@20700 | 24 genpkg_rules() { |
al@20700 | 25 case $PACKAGE in |
al@20700 | 26 gexiv2) |
al@20700 | 27 copy @std |
al@20700 | 28 DEPENDS="exiv2 glib" |
al@20700 | 29 ;; |
al@20700 | 30 *-dev) |
al@20700 | 31 copy @dev |
al@20700 | 32 DEPENDS="gexiv2 exiv2-dev glib-dev" |
al@20700 | 33 ;; |
al@20700 | 34 esac |
al@20700 | 35 } |