diff options
author | Saleem Abdulrasool <compnerd@gentoo.org> | 2005-04-23 17:15:17 +0000 |
---|---|---|
committer | Saleem Abdulrasool <compnerd@gentoo.org> | 2005-04-23 17:15:17 +0000 |
commit | ca77b5882945e2be404bdfeed7d187a40227bd80 (patch) | |
tree | 132e02bcb79ee18376254df143d57e71e78ff555 /dev-java/flute | |
parent | merge with upstream, removed old ebuilds (diff) | |
download | gentoo-2-ca77b5882945e2be404bdfeed7d187a40227bd80.tar.gz gentoo-2-ca77b5882945e2be404bdfeed7d187a40227bd80.tar.bz2 gentoo-2-ca77b5882945e2be404bdfeed7d187a40227bd80.zip |
Initial Import. Resolves bug 85116.
(Portage version: 2.0.51.19)
Diffstat (limited to 'dev-java/flute')
-rw-r--r-- | dev-java/flute/ChangeLog | 11 | ||||
-rw-r--r-- | dev-java/flute/Manifest | 3 | ||||
-rw-r--r-- | dev-java/flute/files/build.xml | 35 | ||||
-rw-r--r-- | dev-java/flute/files/digest-flute-1.3 | 1 | ||||
-rw-r--r-- | dev-java/flute/flute-1.3.ebuild | 55 | ||||
-rw-r--r-- | dev-java/flute/metadata.xml | 12 |
6 files changed, 117 insertions, 0 deletions
diff --git a/dev-java/flute/ChangeLog b/dev-java/flute/ChangeLog new file mode 100644 index 000000000000..d68e34222ed1 --- /dev/null +++ b/dev-java/flute/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for dev-java/flute +# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/flute/ChangeLog,v 1.1 2005/04/23 17:15:17 compnerd Exp $ + +*flute-1.3 (23 Apr 2005) + + 23 Apr 2005; Saleem Abdulrasool <compnerd@gentoo.org> +files/build.xml, + +flute-1.3.ebuild: + Initial import. Resolves bug #85116. Modified ebuild from Betelguese + <petteri.raty@welho.com> + diff --git a/dev-java/flute/Manifest b/dev-java/flute/Manifest new file mode 100644 index 000000000000..a17d040bca0c --- /dev/null +++ b/dev-java/flute/Manifest @@ -0,0 +1,3 @@ +MD5 8c0697be710bebdf1195f1767105a89d flute-1.3.ebuild 1036 +MD5 1e84a9bf5a0d98888225af8f46de56c5 files/digest-flute-1.3 62 +MD5 4aaa26374ca99cc6a0c9bee67d425bbf files/build.xml 860 diff --git a/dev-java/flute/files/build.xml b/dev-java/flute/files/build.xml new file mode 100644 index 000000000000..2ba349baece8 --- /dev/null +++ b/dev-java/flute/files/build.xml @@ -0,0 +1,35 @@ +<?xml version="1.0"?> + +<project name="flute" default="jar"> + <!-- some properties --> + <property name="src" value="src" /> + <property name="build" value="build" /> + <property name="dist" value="dist"/> + + <property name="jarfile" value="${ant.project.name}.jar"/> + + <property file="build.properties"/> + + <!-- init --> + <target name="init"> + <tstamp/> + <mkdir dir="${dist}"/> + <mkdir dir="${build}"/> + </target> + + <!-- compile everything --> + <target name="compile" depends="init"> + <javac srcdir="${src}" destdir="${build}" classpath="${classpath}"/> + </target> + + <!-- build the jar file --> + <target name="jar" depends="compile"> + <jar jarfile="${dist}/${jarfile}" basedir="${build}"/> + </target> + + <!-- clean up --> + <target name="clean"> + <delete dir="${build}"/> + <delete dir="${dist}"/> + </target> +</project> diff --git a/dev-java/flute/files/digest-flute-1.3 b/dev-java/flute/files/digest-flute-1.3 new file mode 100644 index 000000000000..27c191e7a6c5 --- /dev/null +++ b/dev-java/flute/files/digest-flute-1.3 @@ -0,0 +1 @@ +MD5 ff5aed841977d7a0de143752356fee8f flutejava-1.3.zip 270464 diff --git a/dev-java/flute/flute-1.3.ebuild b/dev-java/flute/flute-1.3.ebuild new file mode 100644 index 000000000000..6d2d5ab2258d --- /dev/null +++ b/dev-java/flute/flute-1.3.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/flute/flute-1.3.ebuild,v 1.1 2005/04/23 17:15:17 compnerd Exp $ + +inherit java-pkg + +DESCRIPTION="Flute is an implementation for SAC" +HOMEPAGE="http://www.w3.org/Style/CSS/SAC/" +SRC_URI="http://www.w3.org/2002/06/flutejava-${PV}.zip" + +LICENSE="W3C" +SLOT="0" +KEYWORDS="~x86" +IUSE="doc jikes source" + +DEPEND="virtual/jdk + app-arch/unzip + dev-java/sac + jikes? ( dev-java/jikes ) + source? ( app-arch/zip )" + +RDEPEND="virtual/jre + dev-java/sac" + +src_unpack() { + unpack ${A} + + cp ${FILESDIR}/build.xml ${S} + + cd ${S} + rm -f flute.jar + + mkdir src + mv org src +} + +src_compile() { + echo "classpath=`java-config -p sac`" > ${S}/build.properties + + local antflags="" + use jikes && antflags="${antflags} -Dbuild.compiler=jikes" + + ant ${antflags} || die "Compiling failed" +} + +src_install() { + dojar ${S}/dist/flute.jar + + use doc && java-pkg_dohtml -r ${S}/dist/doc/* + dohtml ${S}/COPYRIGHT.html + + if use source; then + java-pkg_dosrc ${S}/src/org || die "Failed to package sources" + fi +} diff --git a/dev-java/flute/metadata.xml b/dev-java/flute/metadata.xml new file mode 100644 index 000000000000..c74025e07608 --- /dev/null +++ b/dev-java/flute/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> + |