diff options
author | Alistair Bush <ali_bush@gentoo.org> | 2010-06-27 07:53:18 +0000 |
---|---|---|
committer | Alistair Bush <ali_bush@gentoo.org> | 2010-06-27 07:53:18 +0000 |
commit | c05b30617f9d27937f01262b1301ff8c14fb8cd0 (patch) | |
tree | 896bc21568f77395017a0940ad49da9b3cd817e9 /dev-java/jnr-netdb | |
parent | Version bump and fix #325079. (diff) | |
download | gentoo-2-c05b30617f9d27937f01262b1301ff8c14fb8cd0.tar.gz gentoo-2-c05b30617f9d27937f01262b1301ff8c14fb8cd0.tar.bz2 gentoo-2-c05b30617f9d27937f01262b1301ff8c14fb8cd0.zip |
Cleanup jnr-netdb
(Portage version: 2.1.8.3/cvs/Linux x86_64)
Diffstat (limited to 'dev-java/jnr-netdb')
-rw-r--r-- | dev-java/jnr-netdb/ChangeLog | 5 | ||||
-rw-r--r-- | dev-java/jnr-netdb/jnr-netdb-1.0.ebuild | 68 |
2 files changed, 4 insertions, 69 deletions
diff --git a/dev-java/jnr-netdb/ChangeLog b/dev-java/jnr-netdb/ChangeLog index e71f1d2d5120..6432dd43efaf 100644 --- a/dev-java/jnr-netdb/ChangeLog +++ b/dev-java/jnr-netdb/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for dev-java/jnr-netdb # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/jnr-netdb/ChangeLog,v 1.6 2010/06/27 07:44:31 ali_bush Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/jnr-netdb/ChangeLog,v 1.7 2010/06/27 07:53:18 ali_bush Exp $ + + 27 Jun 2010; Alistair Bush <ali_bush@gentoo.org> -jnr-netdb-1.0.ebuild: + Clean up old jnr-netdb-1.0 *jnr-netdb-1.0.1 (27 Jun 2010) diff --git a/dev-java/jnr-netdb/jnr-netdb-1.0.ebuild b/dev-java/jnr-netdb/jnr-netdb-1.0.ebuild deleted file mode 100644 index bc1f3379121a..000000000000 --- a/dev-java/jnr-netdb/jnr-netdb-1.0.ebuild +++ /dev/null @@ -1,68 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/jnr-netdb/jnr-netdb-1.0.ebuild,v 1.6 2010/06/25 13:05:13 betelgeuse Exp $ - -EAPI=3 - -JAVA_PKG_IUSE="doc source" -WANT_ANT_TASKS="ant-nodeps" - -inherit java-pkg-2 java-ant-2 - -DESCRIPTION="Network services database access for java." -HOMEPAGE="http://github.com/wmeissner/jnr-netdb" -SRC_URI="http://github.com/wmeissner/jnr-netdb/tarball/1.0 -> ${P}.tar.gz" - -LICENSE="LGPL-3" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="test" - -COMMON_DEP=">=dev-java/jaffl-0.5.1:0" - -RDEPEND=">=virtual/jre-1.5 - ${COMMON_DEP}" -DEPEND=">=virtual/jdk-1.5 - ${COMMON_DEP} - test? - ( - dev-java/ant-junit4:0 - dev-java/hamcrest-core:0 - java-virtuals/jdk-with-com-sun:0 - )" - -src_unpack() { - unpack ${A} - mv w* "${P}" || die -} - -src_prepare() { - mkdir -p lib - find . -iname 'junit*.jar' -delete - sed -i -e "s|run.test.classpath=|run.test.classpath=lib/hamcrest-core.jar:|g" nbproject/project.properties - java-pkg_jar-from --into lib jaffl jaffl.jar -} - -EANT_EXTRA_ARGS="-Dreference.jaffl.jar=lib/jaffl.jar \ - -Dproject.jaffl=\"${S}\" \ - -D\"already.built.${S}\"=true" - -src_test() { - java-pkg_jar-from --build-only --into lib/junit_4 junit-4 \ - junit.jar junit-4.5.jar - java-pkg_jar-from --build-only --into lib hamcrest-core \ - hamcrest-core.jar - sed -i -e \ - "s_\${file.reference.jffi-complete.jar}_$(java-pkg_getjars --build-only --with-dependencies jaffl)_" \ - nbproject/project.properties - - ANT_TASKS="ant-junit4 ant-nodeps" eant test \ - ${EANT_EXTRA_ARGS} \ - -Djava.library.path="$(java-config -di jaffl)" -} - -src_install() { - java-pkg_dojar "dist/${PN}.jar" - use doc && java-pkg_dojavadoc dist/javadoc - use source && java-pkg_dosrc src/* -} |