diff options
author | Petteri Räty <betelgeuse@gentoo.org> | 2007-10-24 23:23:21 +0000 |
---|---|---|
committer | Petteri Räty <betelgeuse@gentoo.org> | 2007-10-24 23:23:21 +0000 |
commit | dadff8ded4cb427531439602d04c06bab8f7b363 (patch) | |
tree | 0a00a92d4d8ed4193c6bda3c8789336816beb6fc /dev-java/sun-jai-bin | |
parent | Fix jitac -R by including the README file in the jar. Reported in bug #196842. (diff) | |
download | gentoo-2-dadff8ded4cb427531439602d04c06bab8f7b363.tar.gz gentoo-2-dadff8ded4cb427531439602d04c06bab8f7b363.tar.bz2 gentoo-2-dadff8ded4cb427531439602d04c06bab8f7b363.zip |
Add support for amd64 native binaries so this ebuild is only keyworded for amd64 as it's useless bump for others. Fixes bug #195883.
(Portage version: 2.1.3.15)
Diffstat (limited to 'dev-java/sun-jai-bin')
-rw-r--r-- | dev-java/sun-jai-bin/ChangeLog | 9 | ||||
-rw-r--r-- | dev-java/sun-jai-bin/files/digest-sun-jai-bin-1.1.3-r1 | 6 | ||||
-rw-r--r-- | dev-java/sun-jai-bin/sun-jai-bin-1.1.3-r1.ebuild | 50 |
3 files changed, 64 insertions, 1 deletions
diff --git a/dev-java/sun-jai-bin/ChangeLog b/dev-java/sun-jai-bin/ChangeLog index b20af09e0a1b..386b34479066 100644 --- a/dev-java/sun-jai-bin/ChangeLog +++ b/dev-java/sun-jai-bin/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for dev-java/sun-jai-bin # Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/sun-jai-bin/ChangeLog,v 1.14 2007/05/24 14:39:29 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/sun-jai-bin/ChangeLog,v 1.15 2007/10/24 23:23:20 betelgeuse Exp $ + +*sun-jai-bin-1.1.3-r1 (24 Oct 2007) + + 24 Oct 2007; Petteri Räty <betelgeuse@gentoo.org> + +sun-jai-bin-1.1.3-r1.ebuild: + Add support for amd64 native binaries so this ebuild is only keyworded for + amd64 as it's useless bump for others. Fixes bug #195883. 24 May 2007; Diego Pettenò <flameeyes@gentoo.org> sun-jai-bin-1.1.3.ebuild: diff --git a/dev-java/sun-jai-bin/files/digest-sun-jai-bin-1.1.3-r1 b/dev-java/sun-jai-bin/files/digest-sun-jai-bin-1.1.3-r1 new file mode 100644 index 000000000000..891605763304 --- /dev/null +++ b/dev-java/sun-jai-bin/files/digest-sun-jai-bin-1.1.3-r1 @@ -0,0 +1,6 @@ +MD5 4a906db35612f668aeef2c0606d7075b jai-1_1_3-lib-linux-amd64.tar.gz 3510451 +RMD160 8e564c6bbd2ec29c5252b2295fcc179f61e48d81 jai-1_1_3-lib-linux-amd64.tar.gz 3510451 +SHA256 4bf0d26acbedc9e203059b18f8a1a7bfef0b448cb5515b8c1b530706e68eb75a jai-1_1_3-lib-linux-amd64.tar.gz 3510451 +MD5 a2cbc155ef3899bcde9c74a8035764b3 jai-1_1_3-lib-linux-i586.tar.gz 3501711 +RMD160 562adc3a951c64299a5e0fe96e7d617ff550390e jai-1_1_3-lib-linux-i586.tar.gz 3501711 +SHA256 00e68ee1742f972e1602913afcf095e4ca49c17e2df1d2c0938ecb267d41f94f jai-1_1_3-lib-linux-i586.tar.gz 3501711 diff --git a/dev-java/sun-jai-bin/sun-jai-bin-1.1.3-r1.ebuild b/dev-java/sun-jai-bin/sun-jai-bin-1.1.3-r1.ebuild new file mode 100644 index 000000000000..b04693e8f268 --- /dev/null +++ b/dev-java/sun-jai-bin/sun-jai-bin-1.1.3-r1.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/sun-jai-bin/sun-jai-bin-1.1.3-r1.ebuild,v 1.1 2007/10/24 23:23:20 betelgeuse Exp $ + +inherit java-pkg-2 + +MY_PV=${PV//./_} +DESCRIPTION="JAI is a class library for managing images." +HOMEPAGE="https://jai.dev.java.net/" + +BASE=http://download.java.net/media/jai/builds/release/${MY_PV} +MY_P="jai-${MY_PV}" +SRC_URI=" + !amd64? ( ${BASE}/${MY_P}-lib-linux-i586.tar.gz ) + amd64? ( ${BASE}/${MY_P}-lib-linux-amd64.tar.gz )" + +LICENSE="sun-bcla-jai" +SLOT="0" +KEYWORDS="~amd64" +DEPEND="" +RDEPEND=">=virtual/jre-1.3" +IUSE="" +RESTRICT="mirror" + +S=${WORKDIR}/${MY_P}/ + +src_unpack() { + unpack ${A} + rm "${S}/LICENSE-jai.txt" +} + +src_compile() { :; } + +src_install() { + dodoc *.txt || die + + cd lib + java-pkg_dojar *.jar + use x86 && java-pkg_doso *.so + use amd64 && java-pkg_doso *.so +} + +pkg_postinst() { + elog "This ebuild now installs into /opt/${PN} and /usr/share/${PN}" + elog 'To use you need to pass the following to java' + if use x86 || use amd64; then + elog '-Djava.library.path=$(java-config -i sun-jai-bin)' + fi + elog '-classpath $(java-config -p sun-jai-bin)' +} |