void-packages/srcpkgs/gnucash/template
2015-08-30 12:10:43 +02:00

46 lines
1.4 KiB
Bash

# Template file for 'gnucash'
pkgname=gnucash
version=2.6.7
revision=2
conf_files="
/etc/gnucash/config
/etc/gnucash/environment"
hostmakedepends="pkg-config intltool guile"
makedepends="
gmp-devel gtk+-devel libxml2-devel libxslt-devel libgnomecanvas-devel libltdl-devel
goffice0.8-devel libgsf-devel GConf-devel webkitgtk2-devel gc-devel guile-devel
aqbanking-devel aqbanking libofx-devel gwenhywfar-devel gwenhywfar-gtk python-devel"
depends="guile dconf"
build_style="gnu-configure"
configure_args="--disable-dbi --enable-aqbanking --enable-python"
maintainer="Philipp Hirsch <itself@hanspolo.net>"
license="GPL-3"
homepage="http://www.gnucash.org/"
short_desc="Financial-accounting software"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.bz2"
checksum=6c15b12eeddc095d6926d9ea84d885c20b8f52781602c15aa3f672a1f7e2beef
nocross=yes
if [ "$XBPS_TARGET_MACHINE" = "i686" ]; then
broken="http://build.voidlinux.eu/builders/i686_builder/builds/8362/steps/shell_3/logs/stdio"
fi
libgnucash_package() {
shlib_provides="libgncmod-gnome-utils.so libgncmod-app-utils.so libgncmod-engine.so"
short_desc+=" - library files"
pkg_install() {
# gnucash depends on the *.so symlinks to compile guile
# modules on demand.
vmove usr/lib/*.so
vmove usr/lib/*.so.*
vmove usr/lib/gnucash
}
}
libgnucash-devel_package() {
short_desc+=" - development files"
depends="libgnucash>=${version}_${revision}"
pkg_install() {
vmove usr/include
}
}