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/swidgets
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/swidgets')
-rw-r--r--dev-java/swidgets/ChangeLog5
-rw-r--r--dev-java/swidgets/Manifest2
-rw-r--r--dev-java/swidgets/swidgets-0.1.ebuild24
3 files changed, 18 insertions, 13 deletions
diff --git a/dev-java/swidgets/ChangeLog b/dev-java/swidgets/ChangeLog
index a0e36d88bac1..689d9e046a19 100644
--- a/dev-java/swidgets/ChangeLog
+++ b/dev-java/swidgets/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-java/swidgets
# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/swidgets/ChangeLog,v 1.4 2005/03/29 07:44:08 compnerd Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/swidgets/ChangeLog,v 1.5 2005/03/29 08:55:21 luckyduck Exp $
+
+ 29 Mar 2005; Jan Brinkmann <luckyduck@gentoo.org> swidgets-0.1.ebuild:
+ introduced support for the source useflag, keyworded ~amd64
29 Mar 2005; Saleem Abdulrasool <compnerd@gentoo.org> swidgets-0.1.ebuild:
Correcting DEPEND
diff --git a/dev-java/swidgets/Manifest b/dev-java/swidgets/Manifest
index 0a839272b346..b991b9f9fe47 100644
--- a/dev-java/swidgets/Manifest
+++ b/dev-java/swidgets/Manifest
@@ -1,4 +1,4 @@
-MD5 78706966957de1ccfe15464edf47a46f swidgets-0.1.ebuild 1272
+MD5 59e6844720793715253d0e5f5ca24ad8 swidgets-0.1.ebuild 1340
MD5 5df91305cf6326b488207fcbd32c0f7d ChangeLog 685
MD5 0a7e021f886fb1b2e57c3ceb9eb8f9e7 metadata.xml 308
MD5 6e9c0080dd39c94875a6760c005c7e91 files/build.xml 476
diff --git a/dev-java/swidgets/swidgets-0.1.ebuild b/dev-java/swidgets/swidgets-0.1.ebuild
index 1dcc89ec714b..917fca010b21 100644
--- a/dev-java/swidgets/swidgets-0.1.ebuild
+++ b/dev-java/swidgets/swidgets-0.1.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/swidgets/swidgets-0.1.ebuild,v 1.4 2005/03/29 07:44:08 compnerd Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/swidgets/swidgets-0.1.ebuild,v 1.5 2005/03/29 08:55:21 luckyduck Exp $
inherit java-pkg
@@ -10,16 +10,17 @@ SRC_URI="http://swidgets.tigris.org/files/documents/1472/18566/swidgets-${PV}-sr
LICENSE="Apache-2.0"
SLOT="0"
-KEYWORDS="~x86"
-IUSE="jikes"
+KEYWORDS="~x86 ~amd64"
+IUSE="jikes source"
DEPEND="${RDEPEND}
- virtual/jdk
- dev-java/ant-core
- jikes? ( dev-java/jikes )
- app-arch/unzip"
-RDEPEND="virtual/jre
- dev-java/toolbar"
+ >=virtual/jdk-1.4
+ dev-java/ant-core
+ jikes? ( dev-java/jikes )
+ app-arch/unzip
+ source? ( app-arch/zip )"
+RDEPEND=">=virtual/jre-1.4
+ dev-java/toolbar"
src_unpack() {
unpack ${A} || die "Unpack failed!"
@@ -47,10 +48,11 @@ src_unpack() {
src_compile() {
local antflags=""
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/swidgets-${PV}.jar
+
+ use source && java-pkg_dosrc org
}