diff options
Diffstat (limited to 'app-office/taxbird/taxbird-0.12.ebuild')
-rw-r--r-- | app-office/taxbird/taxbird-0.12.ebuild | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/app-office/taxbird/taxbird-0.12.ebuild b/app-office/taxbird/taxbird-0.12.ebuild new file mode 100644 index 000000000000..950862323b4b --- /dev/null +++ b/app-office/taxbird/taxbird-0.12.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-office/taxbird/taxbird-0.12.ebuild,v 1.1 2009/01/22 09:13:05 hanno Exp $ + +inherit eutils fdo-mime + +DESCRIPTION="Taxbird provides a GUI to submit tax forms to the german digital tax project ELSTER." +HOMEPAGE="http://www.taxbird.de/" +SRC_URI="http://www.taxbird.de/download/${PN}/${PV}/${P}.tar.gz" + +LICENSE="GPL-2" +KEYWORDS="~amd64 ~x86" +SLOT="0" +IUSE="" + +DEPEND="dev-libs/libgeier + dev-libs/openssl + =gnome-extra/gtkhtml-2* + gnome-base/libgnomeui + sys-devel/gettext + dev-scheme/guile" + +pkg_setup() { + if has_version ">=dev-scheme/guile-1.8.0" && ! built_with_use dev-scheme/guile discouraged deprecated regex; then + eerror "This package requires dev-scheme/guile with USE=\"discouraged deprecated regex\"." + die "Please reemerge dev-scheme/guile with USE=\"discouraged deprecated regex\"." + fi +} + +src_install() { + dodoc README* || die "dodoc failed" + + einstall || die "Installation failed!" + + # clean out the installed mime files, those get recreated in the pkg_postinst function + einfo "Deleting mime files in ${D}/usr/share/mime" + rm -f "${D}/usr/share/mime/{aliases,globs,magic,mime.cache,subclasses,XMLnamespaces}" +} + +pkg_postinst() { + fdo-mime_mime_database_update + fdo-mime_desktop_database_update +} |