2014-01-05 18:19:03 +01:00
|
|
|
# Template file for 'gnucash'
|
|
|
|
pkgname=gnucash
|
2014-10-02 06:35:17 +02:00
|
|
|
version=2.6.4
|
2014-09-02 14:35:42 +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="
|
|
|
|
gmp-devel gtk+-devel libxml2-devel libxslt-devel libgnomecanvas-devel
|
|
|
|
goffice0.8-devel libgsf-devel GConf-devel webkit-gtk-devel gc-devel guile-devel
|
|
|
|
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"
|
2014-03-13 23:09:48 +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-01-05 18:19:03 +01:00
|
|
|
distfiles="http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${version}.tar.bz2"
|
2014-10-02 06:35:17 +02:00
|
|
|
checksum=0320e4c62a741795648929fd211aca7e816d22b48bc7c54226c99b02c56e34bc
|
2014-01-06 09:01:50 +01:00
|
|
|
|
2014-09-02 14:35:42 +02:00
|
|
|
libgnucash_package() {
|
|
|
|
short_desc+=" - library files"
|
|
|
|
replaces="gnucash<2.6.3"
|
|
|
|
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
|
|
|
replaces="gnucash-devel>0"
|
|
|
|
depends="libgnucash>=${version}_${revision}"
|
2014-01-06 09:01:50 +01:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
}
|
|
|
|
}
|