add java-config for arm
git-svn-id: https://svn.disconnected-by-peer.at/svn/linamh/trunk/linamh@1799 6952d904-891a-0410-993b-d76249ca496b
This commit is contained in:
parent
7cd1903f40
commit
a31602c543
1139
dev-java/java-config/ChangeLog
Normal file
1139
dev-java/java-config/ChangeLog
Normal file
File diff suppressed because it is too large
Load Diff
5
dev-java/java-config/Manifest
Normal file
5
dev-java/java-config/Manifest
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
AUX jdk-defaults-arm.conf 72 RMD160 aa5a741bd11d69d63e08b64ca1cd9bf4ccc373cd SHA1 9f4525f4d03ba6c1f1f44e4e1b386d24dad32fc6 SHA256 6595940eac315c483eaf8629e8ad8b24d41a3c7fcf6b5271c524cbd8ebfe2755
|
||||||
|
DIST java-config-2.1.10.tar.bz2 45507 RMD160 55fc34441a1553035c3e4ae674756df494a1705a SHA1 e78a8032a436a63a583960fe85bd5396144f8a97 SHA256 d0afa1279a2bf91a307e54a78227fe413aad12c1a1beaac4ee90b39cc1485ba5
|
||||||
|
EBUILD java-config-2.1.10.ebuild 1436 RMD160 70cf04163d02bbce7b8e9ca1f0f0307cfa5581ab SHA1 0a999844f15382628a68db72173db9cf4ae8022f SHA256 2a893ffdfdac08043c6ca7a59395577d2d9e5a7f58ad1d8d1fec030d4e399dc6
|
||||||
|
MISC ChangeLog 40587 RMD160 587b6f2feec712473258ae21f417faa419cc88c6 SHA1 5203d0dc921536336213ea9bf893309104cd149f SHA256 a2074270f94932c37a3ec1843ac65b5334cb0d66908e622d774861553b5c5e2a
|
||||||
|
MISC metadata.xml 482 RMD160 b060f8a2492170d8513e1b2d03512d8b565b5045 SHA1 b154d3e425be12942f183a7ad1a37fecc215e4b4 SHA256 f80d3cd5afabd0dc4d177925c3715c464288e5ec3ed1ca809a7f7a66ee3907a5
|
2
dev-java/java-config/files/jdk-defaults-arm.conf
Normal file
2
dev-java/java-config/files/jdk-defaults-arm.conf
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
# This files contain the default support jdk's
|
||||||
|
*= icedtea6 icedtea6-bin
|
58
dev-java/java-config/java-config-2.1.10.ebuild
Normal file
58
dev-java/java-config/java-config-2.1.10.ebuild
Normal file
@ -0,0 +1,58 @@
|
|||||||
|
# Copyright 1999-2009 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Header: /var/cvsroot/gentoo-x86/dev-java/java-config/java-config-2.1.10.ebuild,v 1.2 2009/12/28 21:50:55 arfrever Exp $
|
||||||
|
|
||||||
|
EAPI="2"
|
||||||
|
NEED_PYTHON="2.4"
|
||||||
|
SUPPORT_PYTHON_ABIS="1"
|
||||||
|
|
||||||
|
inherit fdo-mime gnome2-utils distutils eutils
|
||||||
|
|
||||||
|
DESCRIPTION="Java environment configuration tool"
|
||||||
|
HOMEPAGE="http://www.gentoo.org/proj/en/java/"
|
||||||
|
SRC_URI="mirror://gentoo/${P}.tar.bz2"
|
||||||
|
|
||||||
|
LICENSE="GPL-2"
|
||||||
|
SLOT="2"
|
||||||
|
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~x86 ~x86-fbsd"
|
||||||
|
IUSE=""
|
||||||
|
|
||||||
|
DEPEND=""
|
||||||
|
RDEPEND=">=dev-java/java-config-wrapper-0.15"
|
||||||
|
# Tests fail when java-config isn't already installed.
|
||||||
|
RESTRICT="test"
|
||||||
|
RESTRICT_PYTHON_ABIS="3.*"
|
||||||
|
|
||||||
|
PYTHON_MODNAME="java_config_2"
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
sed -e "s/if not self.dry_run/& and not os.path.exists(s)/" -i setup.py || die "sed failed"
|
||||||
|
cp ${FILESDIR}/*.conf config
|
||||||
|
}
|
||||||
|
|
||||||
|
src_test() {
|
||||||
|
testing() {
|
||||||
|
PYTHONPATH="build-${PYTHON_ABI}/lib" "$(PYTHON)" src/run-test-suite.py
|
||||||
|
}
|
||||||
|
python_execute_function testing
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
distutils_src_install
|
||||||
|
|
||||||
|
insinto /usr/share/java-config-2/config/
|
||||||
|
newins config/jdk-defaults-${ARCH}.conf jdk-defaults.conf || die "arch config not found"
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postrm() {
|
||||||
|
distutils_python_version
|
||||||
|
distutils_pkg_postrm
|
||||||
|
fdo-mime_desktop_database_update
|
||||||
|
gnome2_icon_cache_update
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
distutils_pkg_postinst
|
||||||
|
fdo-mime_desktop_database_update
|
||||||
|
gnome2_icon_cache_update
|
||||||
|
}
|
11
dev-java/java-config/metadata.xml
Normal file
11
dev-java/java-config/metadata.xml
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||||
|
<pkgmetadata>
|
||||||
|
<herd>java</herd>
|
||||||
|
<longdescription>
|
||||||
|
java-config is used to configure the Java subsystem on your Gentoo
|
||||||
|
installation. In particular, it can be used to configure system-wide and
|
||||||
|
per-user default JVMs, construct classpath env vars from installed java
|
||||||
|
packages and be used to query for the path to various JDK tools.
|
||||||
|
</longdescription>
|
||||||
|
</pkgmetadata>
|
Loading…
Reference in New Issue
Block a user