summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetteri Räty <betelgeuse@gentoo.org>2006-11-18 13:30:55 +0000
committerPetteri Räty <betelgeuse@gentoo.org>2006-11-18 13:30:55 +0000
commit3331a5ad32c4cb3fda62520d602d1eadb68d74cf (patch)
tree1ed408220eb4750819725b08d0d47e301f2bd8c6 /dev-java/flute/flute-1.3-r1.ebuild
parentadd license.txt (diff)
downloadgentoo-2-3331a5ad32c4cb3fda62520d602d1eadb68d74cf.tar.gz
gentoo-2-3331a5ad32c4cb3fda62520d602d1eadb68d74cf.tar.bz2
gentoo-2-3331a5ad32c4cb3fda62520d602d1eadb68d74cf.zip
Migrated to generation 2 and removed compnerd from metadata.xml. Thanks to <nathanegge@yahoo.com>. Fixes bug #143175.
(Portage version: 2.1.2_rc2)
Diffstat (limited to 'dev-java/flute/flute-1.3-r1.ebuild')
-rw-r--r--dev-java/flute/flute-1.3-r1.ebuild48
1 files changed, 48 insertions, 0 deletions
diff --git a/dev-java/flute/flute-1.3-r1.ebuild b/dev-java/flute/flute-1.3-r1.ebuild
new file mode 100644
index 000000000000..dff5301c3e64
--- /dev/null
+++ b/dev-java/flute/flute-1.3-r1.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/flute/flute-1.3-r1.ebuild,v 1.1 2006/11/18 13:30:55 betelgeuse Exp $
+
+inherit java-pkg-2 java-ant-2
+
+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="~amd64 ~x86"
+IUSE="doc source"
+
+COMMON_DEP="dev-java/sac"
+
+RDEPEND=">=virtual/jre-1.4
+ ${COMMON_DEP}"
+DEPEND=">=virtual/jdk-1.4
+ ${COMMON_DEP}
+ dev-java/ant-core
+ app-arch/unzip
+ source? ( app-arch/zip )"
+
+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-pkg_getjars sac)" > ${S}/build.properties
+ eant
+}
+
+src_install() {
+ java-pkg_dojar ${S}/dist/flute.jar
+
+ use doc && java-pkg_dojavadoc doc
+ use source && java-pkg_dosrc ${S}/src/*
+}