void-packages/srcpkgs/gnucash/template
2014-09-02 14:36:04 +02:00

42 lines
1.3 KiB
Text

# Template file for 'gnucash'
pkgname=gnucash
version=2.6.3
revision=1
conf_files="
/etc/gnucash/config
/etc/gnucash/environment"
hostmakedepends="pkg-config intltool guile"
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"
depends="guile"
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="http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${version}.tar.bz2"
checksum=02104c1d6a563d1209e2116dcca7fa9e28445b0e3335bedbcae85c834b17d93f
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() {
short_desc+=" - development files"
replaces="gnucash-devel>0"
depends="libgnucash>=${version}_${revision}"
pkg_install() {
vmove usr/include
}
}