void-packages/srcpkgs/libgexiv2/template

35 lines
962 B
Plaintext

# Template file for 'libgexiv2'
pkgname=libgexiv2
version=0.6.1
revision=1
build_style=gnu-configure
hostmakedepends="libtool>=2.4.2_7 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="http://www.exiv2.org"
distfiles="http://yorba.org/download/gexiv2/0.6/${pkgname}_${version}.tar.xz"
checksum=72ee2fcc6a98c9e83467adea45b10d1b61c55654c204dcce9c2463615389a9e3
long_desc="
gexiv2 is a GObject-based wrapper around the Exiv2 library. It makes the
basic features of Exiv2 available to GNOME applications."
libgexiv2-devel_package() {
depends="libglib-devel exiv2-devel libgexiv2>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
vmove usr/lib/pkgconfig
vmove usr/share/vala
}
}
libgexiv2_package() {
pkg_install() {
vmove all
}
}