void-packages/srcpkgs/gnumeric/template

28 lines
805 B
Bash

# Template file for 'gnumeric'
pkgname=gnumeric
version=1.12.33
revision=1
build_style=gnu-configure
hostmakedepends="bison gdk-pixbuf-devel glib-devel intltool itstool pkg-config "
makedepends="goffice-devel librsvg-devel libxslt-devel"
short_desc="GNOME Spreadsheet Program"
maintainer="Duncaen <duncaen@voidlinux.eu>"
license="GPL-3"
homepage="http://gnumeric.org/"
distfiles="${GNOME_SITE}/gnumeric/${version%.*}/gnumeric-${version}.tar.xz"
checksum=7eade408b6c20d2e8ad557d539e5e2f29705845a2eaa181b38934bb0cad49c0b
if [ "$CROSS_BUILD" ]; then
CFLAGS="-I${XBPS_CROSS_BASE}/usr/include"
configure_args+=" --without-perl"
fi
gnumeric-devel_package() {
depends="gnumeric>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
}
}