void-packages/srcpkgs/gnucash/template

43 lines
1.3 KiB
Bash
Raw Normal View History

2014-01-05 18:19:03 +01:00
# Template file for 'gnucash'
pkgname=gnucash
2015-10-12 11:24:22 +02:00
version=2.6.9
2015-10-01 09:21:17 +02:00
revision=1
conf_files="
/etc/gnucash/config
/etc/gnucash/environment"
2014-02-23 12:20:27 +01:00
hostmakedepends="pkg-config intltool guile"
makedepends="
2015-04-01 18:52:43 +02:00
gmp-devel gtk+-devel libxml2-devel libxslt-devel libgnomecanvas-devel libltdl-devel
2015-01-09 15:57:03 +01:00
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"
2014-01-05 18:19:03 +01:00
build_style="gnu-configure"
2015-01-04 11:41:16 +01:00
configure_args="--disable-dbi --enable-aqbanking --enable-python"
2015-10-12 11:24:22 +02:00
maintainer="Juan RP <xtraeme@voidlinux.eu>"
2014-01-05 18:19:03 +01:00
license="GPL-3"
homepage="http://www.gnucash.org/"
short_desc="Financial-accounting software"
2014-12-29 20:10:52 +01:00
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.bz2"
2015-10-12 11:24:22 +02:00
checksum=cdaa61b393133e03bccce3d2740bb358d6bf590de16dd19c790c983d032d8247
nocross=yes
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
}
}