void-packages/srcpkgs/libgexiv2/template
2016-08-23 13:27:34 +02:00

24 lines
756 B
Bash

# Template file for 'libgexiv2'
pkgname=libgexiv2
version=0.10.4
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@voidlinux.eu>"
license="GPL-2"
homepage="https://wiki.gnome.org/Projects/gexiv2"
distfiles="${GNOME_SITE}/gexiv2/${version%.*}/${pkgname/lib/}-${version}.tar.xz"
checksum=ad8d31afdc0a1932cc44c4cfcea449497c0d0b445c0ad2f9735707b306e71ca4
libgexiv2-devel_package() {
depends="${makedepends} ${sourcepkg}-${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/*.so
vmove usr/lib/pkgconfig
}
}