summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSerkan Kaba <serkan@gentoo.org>2009-05-16 16:41:03 +0000
committerSerkan Kaba <serkan@gentoo.org>2009-05-16 16:41:03 +0000
commit2da4fb0f487f522c29aecafbf93ea7f060d67cd8 (patch)
tree9c032a994faf392892e5dae9457b6f64f0d02d8e /dev-java/jupidator/jupidator-0.3.0.ebuild
parentppc stable #270009 (diff)
downloadhistorical-2da4fb0f487f522c29aecafbf93ea7f060d67cd8.tar.gz
historical-2da4fb0f487f522c29aecafbf93ea7f060d67cd8.tar.bz2
historical-2da4fb0f487f522c29aecafbf93ea7f060d67cd8.zip
Version bump.
Package-Manager: portage-2.2_rc33/cvs/Linux x86_64
Diffstat (limited to 'dev-java/jupidator/jupidator-0.3.0.ebuild')
-rw-r--r--dev-java/jupidator/jupidator-0.3.0.ebuild45
1 files changed, 45 insertions, 0 deletions
diff --git a/dev-java/jupidator/jupidator-0.3.0.ebuild b/dev-java/jupidator/jupidator-0.3.0.ebuild
new file mode 100644
index 000000000000..1f233569de91
--- /dev/null
+++ b/dev-java/jupidator/jupidator-0.3.0.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jupidator/jupidator-0.3.0.ebuild,v 1.1 2009/05/16 16:41:03 serkan Exp $
+
+JAVA_PKG_IUSE="doc source"
+
+inherit java-pkg-2 java-ant-2
+
+MY_P="${PN}.${PV}"
+
+DESCRIPTION="Jupidator is a library/tool in Java for automatic updating of applications"
+HOMEPAGE="http://www.sourceforge.net/projects/jupidator"
+SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2"
+LICENSE="LGPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="nls"
+
+RDEPEND=">=virtual/jre-1.5
+ dev-java/ant-core"
+DEPEND=">=virtual/jdk-1.5
+ dev-java/ant-core
+ nls? ( sys-devel/gettext )"
+
+S="${WORKDIR}/${PN}"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}" || die
+ rm -v dist/*.jar || die
+ rm -v src/java/com/panayotis/jupidator/i18n/*.class || die
+ rm -rv src/java/org/apache/tools/bzip2 || die
+ #Bundled ant classes
+ java-ant_rewrite-classpath nbproject/build-impl.xml
+}
+
+src_compile() {
+ eant -Dgentoo.classpath="$(java-pkg_getjars ant-core)" $(use nls && echo i18n) compile jar
+}
+
+src_install() {
+ java-pkg_dojar dist/${PN}.jar
+ use doc && java-pkg_dohtml -r dist/doc
+ use source && java-pkg_dosrc src/java/com
+}