summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSaleem Abdulrasool <compnerd@gentoo.org>2005-12-10 19:37:30 +0000
committerSaleem Abdulrasool <compnerd@gentoo.org>2005-12-10 19:37:30 +0000
commitda20eade4bacff798911b3cffff331edd9311725 (patch)
treebf38a6957e66c1634966a4d896ec6913dafd9f21
parentStable on alpha. (diff)
downloadgentoo-2-da20eade4bacff798911b3cffff331edd9311725.tar.gz
gentoo-2-da20eade4bacff798911b3cffff331edd9311725.tar.bz2
gentoo-2-da20eade4bacff798911b3cffff331edd9311725.zip
Version bump
(Portage version: 2.0.53)
-rw-r--r--dev-java/swidgets/ChangeLog9
-rw-r--r--dev-java/swidgets/Manifest18
-rw-r--r--dev-java/swidgets/files/digest-swidgets-0.1.11
-rw-r--r--dev-java/swidgets/swidgets-0.1.1.ebuild59
4 files changed, 73 insertions, 14 deletions
diff --git a/dev-java/swidgets/ChangeLog b/dev-java/swidgets/ChangeLog
index ee41254228a0..ae30e82fbed3 100644
--- a/dev-java/swidgets/ChangeLog
+++ b/dev-java/swidgets/ChangeLog
@@ -1,6 +1,13 @@
# 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.6 2005/05/19 21:27:47 luckyduck Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/swidgets/ChangeLog,v 1.7 2005/12/10 19:37:30 compnerd Exp $
+
+*swidgets-0.1.1 (10 Dec 2005)
+
+ 10 Dec 2005; Saleem Abdulrasool <compnerd@gentoo.org>
+ +swidgets-0.1.1.ebuild:
+ Version bump from upstream. Fixing some style issues, and adding source
+ useflag.
19 May 2005; Jan Brinkmann <luckyduck@gentoo.org> swidgets-0.1.ebuild:
stable on amd64 and x86
diff --git a/dev-java/swidgets/Manifest b/dev-java/swidgets/Manifest
index 9fbc4876d82f..193a5812437b 100644
--- a/dev-java/swidgets/Manifest
+++ b/dev-java/swidgets/Manifest
@@ -1,15 +1,7 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-MD5 7c71449da9938f209002bdfb54a953ee swidgets-0.1.ebuild 1326
-MD5 dc682bdfafd1713c197e4778d5463c89 ChangeLog 922
-MD5 0a7e021f886fb1b2e57c3ceb9eb8f9e7 metadata.xml 308
+MD5 2d16318a6e8fd97ec4222de6a2480347 ChangeLog 1122
MD5 6e9c0080dd39c94875a6760c005c7e91 files/build.xml 476
MD5 ebf611eb608892b79e1513826eca2ed8 files/digest-swidgets-0.1 64
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.1 (GNU/Linux)
-
-iD8DBQFC186A/rLF9B432nYRAly5AJ0aGbPAD1NHqxd0f2a+g+bUhDUMvQCgnlBD
-iJlfrWGW3099W35eWHOxhxY=
-=FEJD
------END PGP SIGNATURE-----
+MD5 4d4a4ab8ca05df0f051d32821dd4b14f files/digest-swidgets-0.1.1 66
+MD5 0a7e021f886fb1b2e57c3ceb9eb8f9e7 metadata.xml 308
+MD5 8d8f43ebb8932f999c00ce2c8da37be9 swidgets-0.1.1.ebuild 1255
+MD5 7c71449da9938f209002bdfb54a953ee swidgets-0.1.ebuild 1326
diff --git a/dev-java/swidgets/files/digest-swidgets-0.1.1 b/dev-java/swidgets/files/digest-swidgets-0.1.1
new file mode 100644
index 000000000000..57452bc68311
--- /dev/null
+++ b/dev-java/swidgets/files/digest-swidgets-0.1.1
@@ -0,0 +1 @@
+MD5 4826acb70480b11e89d913608ede6be0 swidgets-0.1.1-src.zip 60925
diff --git a/dev-java/swidgets/swidgets-0.1.1.ebuild b/dev-java/swidgets/swidgets-0.1.1.ebuild
new file mode 100644
index 000000000000..080c75a49622
--- /dev/null
+++ b/dev-java/swidgets/swidgets-0.1.1.ebuild
@@ -0,0 +1,59 @@
+# 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.1.ebuild,v 1.1 2005/12/10 19:37:30 compnerd Exp $
+
+inherit java-pkg
+
+DESCRIPTION="Various reusable SWING components"
+HOMEPAGE="http://swidgets.tigris.org"
+SRC_URI="http://swidgets.tigris.org/files/documents/1472/18566/swidgets-${PV}-src.zip"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="jikes source"
+
+DEPEND="${RDEPEND}
+ virtual/jdk
+ dev-java/ant-core
+ app-arch/unzip
+ source? ( app-arch/zip )"
+RDEPEND="virtual/jre
+ dev-java/toolbar"
+
+src_unpack() {
+ unpack ${A}
+
+ # Remove the CVS directories
+ find . -name 'CVS' | xargs rmdir
+
+ # Create the directory structor
+ mkdir ${S}
+
+ # Move the broken out source file
+ mv src ${S}
+ mv LabelledLayout.java ${S}/src/org/tigris/swidgets/
+
+ # Copy the build.xml
+ cp ${FILESDIR}/build.xml ${S} || die "Unable to copy the build file!"
+
+ cat > ${S}/build.properties <<- EOF
+ src=src
+ dest=dest
+ build=build
+ version=${PV}
+ classpath=$(java-config -p toolbar)
+ EOF
+}
+
+src_compile() {
+ local antflags=""
+ use jikes && antflags="${antflags} -Dbuild.compiler=jikes"
+
+ ant ${antflags} || die "Compile failed!"
+}
+
+src_install() {
+ java-pkg_newjar dest/swidgets-${PV}.jar ${PN}.jar
+ use source && java-pkg_dosrc ${S}/src/org/
+}