void-packages/srcpkgs/libgexiv2/template
Juan RP 1c5f4690e6 xbps-src: always require current srcpkgs version in build dependencies.
That means that version comparators are not supported anymore in
hostmakedepends and makedepends.

This will ensure that a pkg is always built with the same build dependencies
everywhere, if the srcpkgs tree is uptodate.
2015-03-27 10:59:58 +01:00

25 lines
788 B
Bash

# Template file for 'libgexiv2'
pkgname=libgexiv2
version=0.10.3
revision=1
wrksrc="${pkgname/lib/}-${version}"
build_style=gnu-configure
hostmakedepends="libtool pkg-config"
makedepends="libglib-devel exiv2-devel"
short_desc="GObject-based wrapper around the Exiv2 library"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2"
homepage="https://wiki.gnome.org/Projects/gexiv2"
distfiles="${GNOME_SITE}/gexiv2/${version%.*}/${pkgname/lib/}-${version}.tar.xz"
checksum=390cfb966197fa9f3f32200bc578d7c7f3560358c235e6419657206a362d3988
libgexiv2-devel_package() {
depends="libglib-devel exiv2-devel ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/*.so
vmove usr/lib/pkgconfig
vmove usr/share/vala
}
}