summaryrefslogtreecommitdiff
blob: e7f672123c8ae65e9d7f3af7b91befbdddab41c5 (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
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit latex-package

DESCRIPTION="LaTeX styles for (bilingual) critical editions typesetting."
SRC_URI="http://dev.gentooexperimental.org/~patrick/${P}.zip"
HOMEPAGE="http://www.ctan.org/tex-archive/macros/latex/contrib/ledmac/"
LICENSE="LPPL-1.3c"

IUSE=""
SLOT="0"
KEYWORDS="~x86"

RDEPEND=">=app-text/tetex-3.0"
DEPEND="${RDEPEND}
	app-arch/unzip"

S=${WORKDIR}/${PN}
SUPPLIER="public"

src_compile() {
	latex ledmac.ins
	latex ledpar.ins
	latex ledarab.ins
}

src_install() {
	cd "${S}"
	latex-package_src_doinstall sty
	dodoc *pdf README
}

pkg_postinst() {
	latex-package_rehash
}

pkg_postrm() {
	latex-package_rehash
}