/[gentoo-x86]/app-office/taxbird/taxbird-0.10.ebuild
Gentoo

Contents of /app-office/taxbird/taxbird-0.10.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Fri Sep 7 14:58:37 2007 UTC (6 years, 10 months ago) by hanno
Branch: MAIN
Changes since 1.1: +12 -10 lines
taxbird add use-flag check for guile
(Portage version: 2.1.3.7)

1 # Copyright 1999-2007 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-office/taxbird/taxbird-0.10.ebuild,v 1.1 2007/08/14 15:53:14 wrobel Exp $
4
5 inherit eutils fdo-mime flag-o-matic
6
7 DESCRIPTION="Taxbird provides a GUI to submit tax forms to the german digital tax project ELSTER."
8 HOMEPAGE="http://www.taxbird.de/"
9
10 SRC_URI="http://www.taxbird.de/download/${PN}/${PV}/${P}.tar.gz"
11
12 LICENSE="GPL-2"
13 KEYWORDS="~amd64 ~x86"
14 SLOT="0"
15 IUSE=""
16
17 DEPEND="dev-libs/libgeier
18 dev-libs/openssl
19 =gnome-extra/gtkhtml-2*
20 gnome-base/libgnomeui
21 sys-devel/gettext
22 dev-scheme/guile"
23
24 pkg_setup() {
25 if ! built_with_use 'dev-scheme/guile' 'discouraged deprecated'; then
26 eerror "This package requires dev-scheme/guile with USE=\"discouraged deprecated\"."
27 die "Please reemerge dev-scheme/guile with USE=\"discouraged deprecated\"."
28 fi
29
30 filter-ldflags -Wl,--as-needed --as-needed
31 }
32
33 src_compile() {
34 econf || die "Configure failed!"
35 emake || die "Make failed!"
36 }
37
38 src_install() {
39
40 dodoc README*
41
42 einstall || die "Installation failed!"
43
44 # clean out the installed mime files, those get recreated in the pkg_postinst function
45 einfo "Deleting mime files in ${D}/usr/share/mime"
46 rm -f ${D}/usr/share/mime/{aliases,globs,magic,mime.cache,subclasses,XMLnamespaces}
47 }
48
49 pkg_postinst() {
50 fdo-mime_mime_database_update
51 fdo-mime_desktop_database_update
52 }

  ViewVC Help
Powered by ViewVC 1.1.20