/[gentoo-x86]/dev-java/java-config/java-config-2.1.12-r1.ebuild
Gentoo

Contents of /dev-java/java-config/java-config-2.1.12-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (show annotations) (download)
Mon Jan 21 14:08:54 2013 UTC (19 months ago) by ago
Branch: MAIN
Changes since 1.5: +2 -2 lines
Stable for ppc, wrt bug #451998

(Portage version: 2.1.11.31/cvs/Linux ppc64, unsigned Manifest commit)

1 # Copyright 1999-2013 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-java/java-config/java-config-2.1.12-r1.ebuild,v 1.5 2013/01/20 14:10:12 ago Exp $
4
5 EAPI="5"
6
7 # jython depends on java-config, so don't add it or things will breake.
8 PYTHON_COMPAT=( python{2_6,2_7,3_1,3_2,3_3} pypy{1_8,1_9} )
9
10 inherit distutils-r1 eutils fdo-mime gnome2-utils
11
12 DESCRIPTION="Java environment configuration tool"
13 HOMEPAGE="http://www.gentoo.org/proj/en/java/"
14 SRC_URI="mirror://gentoo/${P}.tar.bz2"
15
16 LICENSE="GPL-2"
17 SLOT="2"
18 KEYWORDS="amd64 ~arm ~ia64 ppc ppc64 x86 ~amd64-fbsd ~x86-fbsd"
19 IUSE=""
20
21 DEPEND=""
22 RDEPEND=">=dev-java/java-config-wrapper-0.15"
23 # https://bugs.gentoo.org/show_bug.cgi?id=315229
24 PDEPEND=">=virtual/jre-1.5"
25 # Tests fail when java-config isn't already installed.
26 RESTRICT="test"
27
28 python_test() {
29 "${PYTHON}" src/run-test-suite.py || die
30 "${PYTHON}" src/run-test-suite2.py || die
31 }
32
33 python_install_all() {
34 distutils-r1_python_install_all
35
36 insinto /usr/share/java-config-2/config/
37 newins config/jdk-defaults-${ARCH}.conf jdk-defaults.conf
38 }
39
40 pkg_postrm() {
41 fdo-mime_desktop_database_update
42 gnome2_icon_cache_update
43 }
44
45 pkg_postinst() {
46 fdo-mime_desktop_database_update
47 gnome2_icon_cache_update
48 }

  ViewVC Help
Powered by ViewVC 1.1.20