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 | ca41ab66038a6e690d22d13efe4bc40bd0934a1c (patch) | |
tree | 3de720f71569171870a21c17d6e69fa4ad62a7b8 /dev-java/swidgets | |
parent | Fixed bug #58157 (xine-ui desktop / depend fixes). Thanks to Diego for the e... (diff) | |
download | gentoo-2-ca41ab66038a6e690d22d13efe4bc40bd0934a1c.tar.gz gentoo-2-ca41ab66038a6e690d22d13efe4bc40bd0934a1c.tar.bz2 gentoo-2-ca41ab66038a6e690d22d13efe4bc40bd0934a1c.zip |
The widgets! Oh my, the widgets!
(Portage version: 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 | 3 | ||||
-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, 97 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..1c7f340cd7f9 --- /dev/null +++ b/dev-java/swidgets/Manifest @@ -0,0 +1,3 @@ +MD5 2e099ae1505194af019fe5e17aac11e1 swidgets-0.1.ebuild 1213 +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 +} |