/[gentoo-x86]/dev-java/java-gnome/java-gnome-4.0.4.ebuild
Gentoo

Contents of /dev-java/java-gnome/java-gnome-4.0.4.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.7 - (show annotations) (download)
Mon Jan 14 19:22:09 2008 UTC (6 years, 8 months ago) by caster
Branch: MAIN
CVS Tags: HEAD
Changes since 1.6: +1 -1 lines
FILE REMOVED
Remove old versions.
(Portage version: 2.1.4)

1 # Copyright 1999-2008 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-java/java-gnome/java-gnome-4.0.4.ebuild,v 1.6 2008/01/10 22:31:10 caster Exp $
4
5 JAVA_PKG_IUSE="doc examples source"
6
7 inherit eutils versionator java-pkg-2
8
9 DESCRIPTION="Java bindings for GTK and GNOME"
10 HOMEPAGE="http://java-gnome.sourceforge.net/"
11 SRC_URI="mirror://gnome/sources/${PN}/$(get_version_component_range 1-2)/${P}.tar.bz2"
12
13 LICENSE="GPL-2-with-linking-exception"
14 SLOT="4.0"
15 KEYWORDS="amd64 ~ppc x86"
16 IUSE=""
17
18 RDEPEND=">=dev-libs/glib-2.12.13
19 >=x11-libs/gtk+-2.10.14
20 >=gnome-base/libglade-2.6.1
21 >=gnome-base/libgnome-2.18.0
22 >=gnome-base/gnome-desktop-2.18.0
23 >=virtual/jre-1.4"
24 DEPEND="${RDEPEND}
25 =dev-java/junit-3.8*
26 dev-lang/python
27 >=virtual/jdk-1.4"
28
29 # Needs X11
30 RESTRICT="test"
31
32 src_compile() {
33 # Handwritten in perl so not using econf
34 ./configure --prefix=/usr || die
35
36 emake || die "Compilation of java-gnome failed"
37
38 if use doc; then
39 emake doc || die "Making documentation failed"
40 fi
41 }
42
43 src_install(){
44 java-pkg_doso tmp/*.so
45 java-pkg_dojar tmp/*.jar
46
47 dodoc AUTHORS HACKING NEWS README || die
48
49 use doc && java-pkg_dojavadoc doc/api
50 use examples && java-pkg_doexamples --subdir tests/prototype tests/prototype
51 use source && java-pkg_dosrc src/bindings/org
52 }

  ViewVC Help
Powered by ViewVC 1.1.20