blob: 6bb2f0052a879a8cffbb25a2a150d6245d303585 (
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
|
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-text/passivetex/passivetex-1.4.ebuild,v 1.8 2002/12/09 04:17:44 manson Exp $
S=${WORKDIR}/passivetex
DESCRIPTION="A namespace-aware XML parser written in Tex"
SRC_URI="http://users.ox.ac.uk/~rahtz/passivetex/${PN}.zip"
HOMEPAGE="http://users.ox.ac.uk/~rahtz/passivetex/"
KEYWORDS="x86 sparc "
SLOT="0"
LICENSE="freedist"
DEPEND="app-text/tetex app-arch/unzip
app-text/xmltex"
RDEPEND="app-text/tetex
app-text/xmltex"
src_unpack() {
mkdir ${S}
cd ${S}
unpack ${A}
cp ${FILESDIR}/${P}-Makefile Makefile
}
src_compile() {
make || die
}
src_install () {
make DESTDIR=${D} install || die
}
pkg_postinst() {
if [ -e /usr/bin/mktexlsr ]
then
/usr/bin/mktexlsr
fi
}
|