void-packages/srcpkgs/libgsf/template

33 lines
875 B
Plaintext

# Template build file for 'libgsf'.
pkgname=libgsf
version=1.14.28
revision=1
build_style=gnu-configure
configure_args="--disable-static --enable-introspection=yes"
hostmakedepends="pkg-config intltool gobject-introspection"
makedepends="libglib-devel libxml2-devel gdk-pixbuf-devel"
short_desc="Structured File Library"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2, LGPL-2.1"
homepage="http://www.gnome.org/"
distfiles="${GNOME_SITE}/libgsf/1.14/$pkgname-$version.tar.xz"
checksum=ea94914f1fdaa5d4eb49149f0228ae6e41a54bdeb8caf52a7dd8acaa329fcbe4
libgsf-devel_package() {
depends="libglib-devel libxml2-devel libgsf>=${version}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
vmove usr/share/gtk-doc
vmove usr/share/gir-1.0
}
}
libgsf_package() {
pkg_install() {
vmove usr
}
}