void-packages/srcpkgs/goffice0.8/template

30 lines
1.0 KiB
Bash
Raw Normal View History

# Template file for 'goffice0.8'
pkgname=goffice0.8
version=0.8.17
revision=4
wrksrc="goffice-${version}"
hostmakedepends="pkg-config pcre intltool glib-devel libtool automake gtk-doc gettext-devel"
2014-03-14 00:42:33 +01:00
makedepends="GConf-devel gtk+-devel librsvg-devel libgsf-devel libxml2-devel pcre-devel cairo-devel"
build_style="gnu-configure"
maintainer="Philipp Hirsch <itself@hanspolo.net>"
license="GPL-2"
homepage="http://freecode.com/projects/${pkgname}"
distfiles="http://ftp.gnome.org/pub/GNOME/sources/goffice/${version%.*}/goffice-${version}.tar.xz"
checksum=165070beb67b84580afe80a8a100b674a81d553ab791acd72ac0c655f4fadb15
short_desc="Library of document-centric objects and utilities building on top of GLib and Gtk+ (0.8.x)"
2014-03-14 00:42:33 +01:00
pre_configure() {
autoreconf -fi
2014-03-14 00:42:33 +01:00
}
goffice0.8-devel_package() {
2014-03-14 00:42:33 +01:00
short_desc+=" - development files"
depends="libgsf-devel gtk+-devel libxml2-devel ${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.so"
vmove usr/lib/pkgconfig
vmove usr/share/gtk-doc
}
}