summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Brinkmann <luckyduck@gentoo.org>2005-03-29 08:55:21 +0000
committerJan Brinkmann <luckyduck@gentoo.org>2005-03-29 08:55:21 +0000
commit01b84c2b0a1720018361534039f52e0463857926 (patch)
treee35e0adbd29d942f9f91b06851d93f8e8b4043d2 /dev-java/toolbar
parentUse proper toolchain compiler. Removing old version. Version bump. (diff)
downloadhistorical-01b84c2b0a1720018361534039f52e0463857926.tar.gz
historical-01b84c2b0a1720018361534039f52e0463857926.tar.bz2
historical-01b84c2b0a1720018361534039f52e0463857926.zip
introduced support for the source useflag, keyworded ~amd64
Package-Manager: portage-2.0.51.19
Diffstat (limited to 'dev-java/toolbar')
-rw-r--r--dev-java/toolbar/ChangeLog5
-rw-r--r--dev-java/toolbar/Manifest2
-rw-r--r--dev-java/toolbar/toolbar-0.4.ebuild18
3 files changed, 15 insertions, 10 deletions
diff --git a/dev-java/toolbar/ChangeLog b/dev-java/toolbar/ChangeLog
index 0a902f7e8208..c568a718daa5 100644
--- a/dev-java/toolbar/ChangeLog
+++ b/dev-java/toolbar/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-java/toolbar
# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/toolbar/ChangeLog,v 1.4 2005/03/29 07:41:30 compnerd Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/toolbar/ChangeLog,v 1.5 2005/03/29 08:51:08 luckyduck Exp $
+
+ 29 Mar 2005; Jan Brinkmann <luckyduck@gentoo.org> toolbar-0.4.ebuild:
+ introduced support for the source useflag, keyworded ~amd64
29 Mar 2005; Saleem Abdulrasool <compnerd@gentoo.org> toolbar-0.4.ebuild:
Adding ant-core to depend
diff --git a/dev-java/toolbar/Manifest b/dev-java/toolbar/Manifest
index 05411805409f..50ce6537767e 100644
--- a/dev-java/toolbar/Manifest
+++ b/dev-java/toolbar/Manifest
@@ -1,4 +1,4 @@
-MD5 45679627985c4fb774afcf65307aafcf toolbar-0.4.ebuild 1104
+MD5 70b1837e39b202c61e7f12f4dd514baf toolbar-0.4.ebuild 1112
MD5 c47a6c6700f854bccc4e918e1e9a61d7 ChangeLog 712
MD5 0a7e021f886fb1b2e57c3ceb9eb8f9e7 metadata.xml 308
MD5 e5ce19963fde6a9749d952db98ef48cd files/build.xml 528
diff --git a/dev-java/toolbar/toolbar-0.4.ebuild b/dev-java/toolbar/toolbar-0.4.ebuild
index d96a47493d91..424ef69763cd 100644
--- a/dev-java/toolbar/toolbar-0.4.ebuild
+++ b/dev-java/toolbar/toolbar-0.4.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/toolbar/toolbar-0.4.ebuild,v 1.4 2005/03/29 07:41:30 compnerd Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/toolbar/toolbar-0.4.ebuild,v 1.5 2005/03/29 08:51:08 luckyduck Exp $
inherit java-pkg
@@ -10,13 +10,14 @@ SRC_URI="http://toolbar.tigris.org/files/documents/869/10303/ToolBar-${PV}-src.z
LICENSE="Apache-2.0"
SLOT="0"
-KEYWORDS="~x86"
-IUSE="jikes"
+KEYWORDS="~x86 ~amd64"
+IUSE="jikes source"
DEPEND=">=virtual/jdk-1.4
- dev-java/ant-core
- jikes? ( dev-java/jikes )
- app-arch/unzip"
+ dev-java/ant-core
+ jikes? ( dev-java/jikes )
+ app-arch/unzip
+ source? ( app-arch/zip )"
RDEPEND=">=virtual/jre-1.4"
src_unpack() {
@@ -36,10 +37,11 @@ src_unpack() {
src_compile() {
local antflags="-Dversion=${PV}"
use jikes && antflags="${antflags} -Dbuild.compiler=jikes"
-
- ant ${antflags} -f build.xml || die "Compile failed!"
+ ant ${antflags} || die "Compile failed!"
}
src_install() {
java-pkg_dojar dest/toolbar-${PV}.jar
+
+ use source && java-pkg_dosrc src/*
}