Gentoo Archives: gentoo-commits

From: "Petteri Raty (betelgeuse)" <betelgeuse@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-java/sun-jai-bin: ChangeLog sun-jai-bin-1.1.3-r1.ebuild
Date: Wed, 24 Oct 2007 23:23:26
Message-Id: E1IkpZJ-0005Lz-2P@stork.gentoo.org
1 betelgeuse 07/10/24 23:23:21
2
3 Modified: ChangeLog
4 Added: sun-jai-bin-1.1.3-r1.ebuild
5 Log:
6 Add support for amd64 native binaries so this ebuild is only keyworded for amd64 as it's useless bump for others. Fixes bug #195883.
7 (Portage version: 2.1.3.15)
8
9 Revision Changes Path
10 1.15 dev-java/sun-jai-bin/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/sun-jai-bin/ChangeLog?rev=1.15&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/sun-jai-bin/ChangeLog?rev=1.15&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/sun-jai-bin/ChangeLog?r1=1.14&r2=1.15
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-java/sun-jai-bin/ChangeLog,v
19 retrieving revision 1.14
20 retrieving revision 1.15
21 diff -u -r1.14 -r1.15
22 --- ChangeLog 24 May 2007 14:39:29 -0000 1.14
23 +++ ChangeLog 24 Oct 2007 23:23:20 -0000 1.15
24 @@ -1,6 +1,13 @@
25 # ChangeLog for dev-java/sun-jai-bin
26 # Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-java/sun-jai-bin/ChangeLog,v 1.14 2007/05/24 14:39:29 flameeyes Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-java/sun-jai-bin/ChangeLog,v 1.15 2007/10/24 23:23:20 betelgeuse Exp $
29 +
30 +*sun-jai-bin-1.1.3-r1 (24 Oct 2007)
31 +
32 + 24 Oct 2007; Petteri Räty <betelgeuse@g.o>
33 + +sun-jai-bin-1.1.3-r1.ebuild:
34 + Add support for amd64 native binaries so this ebuild is only keyworded for
35 + amd64 as it's useless bump for others. Fixes bug #195883.
36
37 24 May 2007; Diego Pettenò <flameeyes@g.o>
38 sun-jai-bin-1.1.3.ebuild:
39
40
41
42 1.1 dev-java/sun-jai-bin/sun-jai-bin-1.1.3-r1.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/sun-jai-bin/sun-jai-bin-1.1.3-r1.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/sun-jai-bin/sun-jai-bin-1.1.3-r1.ebuild?rev=1.1&content-type=text/plain
46
47 Index: sun-jai-bin-1.1.3-r1.ebuild
48 ===================================================================
49 # Copyright 1999-2007 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $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 $
52
53 inherit java-pkg-2
54
55 MY_PV=${PV//./_}
56 DESCRIPTION="JAI is a class library for managing images."
57 HOMEPAGE="https://jai.dev.java.net/"
58
59 BASE=http://download.java.net/media/jai/builds/release/${MY_PV}
60 MY_P="jai-${MY_PV}"
61 SRC_URI="
62 !amd64? ( ${BASE}/${MY_P}-lib-linux-i586.tar.gz )
63 amd64? ( ${BASE}/${MY_P}-lib-linux-amd64.tar.gz )"
64
65 LICENSE="sun-bcla-jai"
66 SLOT="0"
67 KEYWORDS="~amd64"
68 DEPEND=""
69 RDEPEND=">=virtual/jre-1.3"
70 IUSE=""
71 RESTRICT="mirror"
72
73 S=${WORKDIR}/${MY_P}/
74
75 src_unpack() {
76 unpack ${A}
77 rm "${S}/LICENSE-jai.txt"
78 }
79
80 src_compile() { :; }
81
82 src_install() {
83 dodoc *.txt || die
84
85 cd lib
86 java-pkg_dojar *.jar
87 use x86 && java-pkg_doso *.so
88 use amd64 && java-pkg_doso *.so
89 }
90
91 pkg_postinst() {
92 elog "This ebuild now installs into /opt/${PN} and /usr/share/${PN}"
93 elog 'To use you need to pass the following to java'
94 if use x86 || use amd64; then
95 elog '-Djava.library.path=$(java-config -i sun-jai-bin)'
96 fi
97 elog '-classpath $(java-config -p sun-jai-bin)'
98 }
99
100
101
102 --
103 gentoo-commits@g.o mailing list