blob: a3d51587502e927074f68230f47be178bd711d3e (
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
|
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-java/javatoolkit/javatoolkit-0.1.9-r1.ebuild,v 1.4 2006/10/15 16:00:48 nichoj Exp $
inherit eutils python
DESCRIPTION="Collection of Gentoo-specific tools for Java"
HOMEPAGE="http://dev.gentoo.org/proj/en/java/"
SRC_URI="mirror://gentoo/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ia64 ~ppc ppc64 ~sparc ~x86 ~x86-fbsd"
DEPEND="virtual/python"
RDEPEND="virtual/python"
IUSE=""
src_unpack() {
unpack ${A}
cd "${S}"
# Fix version
sed -i -e s/9.9.9/${PV}/ makedefs.mak
epatch "${FILESDIR}/${P}-make.patch"
}
src_install() {
make DESTDIR=${D} install || die
}
pkg_postinst() {
python_mod_optimize /usr/share/javatoolkit
}
pkg_postrm() {
python_mod_cleanup /usr/share/javatoolkit
}
|