summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-office/kletterwizard/kletterwizard-0.9.7.ebuild')
-rw-r--r--app-office/kletterwizard/kletterwizard-0.9.7.ebuild36
1 files changed, 36 insertions, 0 deletions
diff --git a/app-office/kletterwizard/kletterwizard-0.9.7.ebuild b/app-office/kletterwizard/kletterwizard-0.9.7.ebuild
new file mode 100644
index 00000000..e8abc282
--- /dev/null
+++ b/app-office/kletterwizard/kletterwizard-0.9.7.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-office/kletterwizard/kletterwizard-0.9.7.ebuild,v 1.8 2008/09/03 11:34:07 opfer Exp $
+
+inherit kde
+
+DESCRIPTION="KLetterWizard is a KDE application which simplifies letter writing and produces output via LaTeX."
+HOMEPAGE="http://www.kluenter.de/klw.html"
+SRC_URI="http://www.kluenter.de/${P}.tar.gz"
+LICENSE="GPL-2"
+
+SLOT="0"
+KEYWORDS="amd64 ~ppc ~sparc x86"
+IUSE="kdeenablefinal"
+
+DEPEND="virtual/latex-base
+ || ( =kde-base/kghostview-3.5* =kde-base/kdegraphics-3.5* )"
+RDEPEND="${DEPEND}"
+
+need-kde 3.4
+
+src_unpack() {
+ kde_src_unpack
+ epatch "${FILESDIR}/${PN}-0.9.6-gentoo.diff"
+ epatch "${FILESDIR}/${P}-gcc-4.1.patch"
+}
+
+src_compile() {
+ myconf="--with-texmf-path=/usr/share/texmf"
+ kde_src_compile
+}
+
+pkg_postinst() {
+ einfo "Running texhash to complete install..."
+ texhash
+}