blob: 13d0230522609969453c546a19ddc827b194463d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-office/kletterwizard/kletterwizard-0.9.8.ebuild,v 1.1 2007/05/20 16:37:12 philantrop Exp $
inherit kde
DESCRIPTION="KLetterWizard is a KDE application which simplifies letter writing and produces output via LaTeX."
HOMEPAGE="http://www.kluenter.de/klw"
SRC_URI="http://www.kluenter.de/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
IUSE="kdeenablefinal"
DEPEND="virtual/tetex
|| ( kde-base/kghostview kde-base/kdegraphics )"
RDEPEND="${DEPEND}
dev-tex/latex-unicode"
need-kde 3.4
S="${WORKDIR}/${PN}"
src_unpack() {
kde_src_unpack
epatch "${FILESDIR}/${P}-gentoo.diff"
}
src_compile() {
myconf="--with-texmf-path=/usr/share/texmf"
kde_src_compile
}
pkg_postinst() {
einfo "Running texhash to complete install..."
addwrite "/var/lib/texmf"
addwrite "/usr/share/texmf"
addwrite "/var/cache/fonts"
texhash
}
|