2014-01-05 18:19:03 +01:00
|
|
|
# Template file for 'gnucash'
|
|
|
|
pkgname=gnucash
|
2015-06-30 08:53:10 +02:00
|
|
|
version=2.6.7
|
2015-04-01 18:52:43 +02:00
|
|
|
revision=1
|
2014-01-06 09:01:50 +01:00
|
|
|
conf_files="
|
|
|
|
/etc/gnucash/config
|
|
|
|
/etc/gnucash/environment"
|
2014-02-23 12:20:27 +01:00
|
|
|
hostmakedepends="pkg-config intltool guile"
|
2014-04-03 11:19:36 +02:00
|
|
|
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
|
2014-04-03 11:19:36 +02:00
|
|
|
aqbanking-devel aqbanking libofx-devel gwenhywfar-devel gwenhywfar-gtk python-devel"
|
2014-10-02 06:35:17 +02:00
|
|
|
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"
|
2014-01-05 18:19:03 +01:00
|
|
|
maintainer="Philipp Hirsch <itself@hanspolo.net>"
|
|
|
|
license="GPL-3"
|
|
|
|
homepage="http://www.gnucash.org/"
|
2014-01-06 09:01:50 +01:00
|
|
|
short_desc="Financial-accounting software"
|
2014-12-29 20:10:52 +01:00
|
|
|
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.bz2"
|
2015-06-30 08:53:10 +02:00
|
|
|
checksum=6c15b12eeddc095d6926d9ea84d885c20b8f52781602c15aa3f672a1f7e2beef
|
2014-01-06 09:01:50 +01:00
|
|
|
|
2015-03-06 14:04:40 +01:00
|
|
|
nocross=yes
|
|
|
|
|
2015-01-04 11:41:16 +01:00
|
|
|
if [ "$XBPS_TARGET_MACHINE" = "i686" ]; then
|
|
|
|
broken="http://build.voidlinux.eu/builders/i686_builder/builds/8362/steps/shell_3/logs/stdio"
|
|
|
|
fi
|
|
|
|
|
2014-09-02 14:35:42 +02:00
|
|
|
libgnucash_package() {
|
2015-03-06 14:04:40 +01:00
|
|
|
shlib_provides="libgncmod-gnome-utils.so libgncmod-app-utils.so libgncmod-engine.so"
|
2014-09-02 14:35:42 +02:00
|
|
|
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() {
|
2014-01-06 09:01:50 +01:00
|
|
|
short_desc+=" - development files"
|
2014-09-02 14:35:42 +02:00
|
|
|
depends="libgnucash>=${version}_${revision}"
|
2014-01-06 09:01:50 +01:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
}
|
|
|
|
}
|