diff options
author | Saleem Abdulrasool <compnerd@gentoo.org> | 2005-03-29 06:10:39 +0000 |
---|---|---|
committer | Saleem Abdulrasool <compnerd@gentoo.org> | 2005-03-29 06:10:39 +0000 |
commit | 41a9ba1ac73f888176a421a9497526abffb314b4 (patch) | |
tree | 59e3a8b51dccde65c9095334275e0305a8f28ae2 /dev-java/swidgets | |
parent | Fixed bug #58157 (xine-ui desktop / depend fixes). Thanks to Diego for the e... (diff) | |
download | historical-41a9ba1ac73f888176a421a9497526abffb314b4.tar.gz historical-41a9ba1ac73f888176a421a9497526abffb314b4.tar.bz2 historical-41a9ba1ac73f888176a421a9497526abffb314b4.zip |
The widgets! Oh my, the widgets!
Package-Manager: portage-2.0.51.19
Diffstat (limited to 'dev-java/swidgets')
-rw-r--r-- | dev-java/swidgets/ChangeLog | 10 | ||||
-rw-r--r-- | dev-java/swidgets/Manifest | 5 | ||||
-rw-r--r-- | dev-java/swidgets/files/build.xml | 17 | ||||
-rw-r--r-- | dev-java/swidgets/files/digest-swidgets-0.1 | 1 | ||||
-rw-r--r-- | dev-java/swidgets/metadata.xml | 12 | ||||
-rw-r--r-- | dev-java/swidgets/swidgets-0.1.ebuild | 54 |
6 files changed, 99 insertions, 0 deletions
diff --git a/dev-java/swidgets/ChangeLog b/dev-java/swidgets/ChangeLog new file mode 100644 index 000000000000..22a21b4c5159 --- /dev/null +++ b/dev-java/swidgets/ChangeLog @@ -0,0 +1,10 @@ +# 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.1 2005/03/29 06:10:39 compnerd Exp $ + +*swidgets-0.1 (29 Mar 2005) + + 29 Mar 2005; Saleem Abdulrasool <compnerd@gentoo.org> +files/build.xml, + +swidgets-0.1.ebuild: + Initial import; Dependency for ArgoUML bug #63307 + diff --git a/dev-java/swidgets/Manifest b/dev-java/swidgets/Manifest new file mode 100644 index 000000000000..506551b78f16 --- /dev/null +++ b/dev-java/swidgets/Manifest @@ -0,0 +1,5 @@ +MD5 d02e129bdca153f98425fb5199c02777 swidgets-0.1.ebuild 1313 +MD5 6e277380a72f830831b99ada072e260a ChangeLog 389 +MD5 0a7e021f886fb1b2e57c3ceb9eb8f9e7 metadata.xml 308 +MD5 6e9c0080dd39c94875a6760c005c7e91 files/build.xml 476 +MD5 ebf611eb608892b79e1513826eca2ed8 files/digest-swidgets-0.1 64 diff --git a/dev-java/swidgets/files/build.xml b/dev-java/swidgets/files/build.xml new file mode 100644 index 000000000000..ab287881393a --- /dev/null +++ b/dev-java/swidgets/files/build.xml @@ -0,0 +1,17 @@ +<project name="swidgets" default="jar" basedir="."> + <property file="build.properties"/> + + <target name="init"> + <tstamp/> + <mkdir dir="${build}"/> + <mkdir dir="${dest}"/> + </target> + + <target name="compile" depends="init"> + <javac classpath="${classpath}" srcdir="${src}" destdir="${build}"/> + </target> + + <target name="jar" depends="compile"> + <jar destfile="${dest}/swidgets-${version}.jar" basedir="${build}"/> + </target> +</project> diff --git a/dev-java/swidgets/files/digest-swidgets-0.1 b/dev-java/swidgets/files/digest-swidgets-0.1 new file mode 100644 index 000000000000..0dd7b963e7e4 --- /dev/null +++ b/dev-java/swidgets/files/digest-swidgets-0.1 @@ -0,0 +1 @@ +MD5 67a715eb8ca04529d2e00bcacae2ffff swidgets-0.1-src.zip 56004 diff --git a/dev-java/swidgets/metadata.xml b/dev-java/swidgets/metadata.xml new file mode 100644 index 000000000000..c74025e07608 --- /dev/null +++ b/dev-java/swidgets/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>java</herd> + <maintainer> + <email>compnerd@gentoo.org</email> + <name>Saleem Abdulrasool</name> + </maintainer> + <longdescription lang="en"> + </longdescription> +</pkgmetadata> + diff --git a/dev-java/swidgets/swidgets-0.1.ebuild b/dev-java/swidgets/swidgets-0.1.ebuild new file mode 100644 index 000000000000..a088d2a91ba4 --- /dev/null +++ b/dev-java/swidgets/swidgets-0.1.ebuild @@ -0,0 +1,54 @@ +# 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.1 2005/03/29 06:10:39 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="~x86" +IUSE="jikes" + +DEPEND="${RDEPEND} + virtual/jdk + app-arch/unzip" +RDEPEND="virtual/jre + dev-java/toolbar" + +src_unpack() { + unpack ${A} || die "Unpack failed!" + + # Remove the CVS directories + find . -name 'CVS' | xargs rmdir + + # Remove the unneeded directory + mv src/org ${S} + rm -rf src + + # Copy the build.xml + cp ${FILESDIR}/build.xml ${S} || die "Unable to copy the build file!" +} + +src_compile() { + cd ${S} + + touch build.properties + echo "src=." >> build.properties + echo "dest=dest" >> build.properties + echo "build=build" >> build.properties + echo "version=${PV}" >> build.properties + echo "classpath=$(java-config -p toolbar)" >> build.properties + + local antflags="" + $(use jikes) && antflags="${antflags} -Dbuild.compiler=jikes" + + ant ${antflags} -f build.xml || die "Compile failed!" +} + +src_install() { + java-pkg_dojar dest/swidgets-${PV}.jar +} |