diff options
author | Miroslav Šulc <fordfrog@gentoo.org> | 2008-10-22 14:48:21 +0000 |
---|---|---|
committer | Miroslav Šulc <fordfrog@gentoo.org> | 2008-10-22 14:48:21 +0000 |
commit | 9d816586fd51d9253db89cf9c13473fbf4f0c573 (patch) | |
tree | eef26a3ee36d8b3e3330201a42ec0becd5c10fd4 /dev-db | |
parent | Version bump (diff) | |
download | gentoo-2-9d816586fd51d9253db89cf9c13473fbf4f0c573.tar.gz gentoo-2-9d816586fd51d9253db89cf9c13473fbf4f0c573.tar.bz2 gentoo-2-9d816586fd51d9253db89cf9c13473fbf4f0c573.zip |
New ebuild (moved from java-overlay)
(Portage version: 2.2_rc12/cvs/Linux 2.6.27-gentoo x86_64)
Diffstat (limited to 'dev-db')
-rw-r--r-- | dev-db/apgdiff/ChangeLog | 10 | ||||
-rw-r--r-- | dev-db/apgdiff/Manifest | 4 | ||||
-rw-r--r-- | dev-db/apgdiff/apgdiff-1.3.ebuild | 53 | ||||
-rw-r--r-- | dev-db/apgdiff/metadata.xml | 8 |
4 files changed, 75 insertions, 0 deletions
diff --git a/dev-db/apgdiff/ChangeLog b/dev-db/apgdiff/ChangeLog new file mode 100644 index 000000000000..acafc6654b72 --- /dev/null +++ b/dev-db/apgdiff/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for dev-db/apgdiff +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-db/apgdiff/ChangeLog,v 1.1 2008/10/22 14:48:21 fordfrog Exp $ + +*apgdiff-1.3 (22 Oct 2008) + + 22 Oct 2008; Miroslav Šulc <fordfrog@gentoo.org> +metadata.xml, + +apgdiff-1.3.ebuild: + New ebuild (moved from java-overlay) + diff --git a/dev-db/apgdiff/Manifest b/dev-db/apgdiff/Manifest new file mode 100644 index 000000000000..ea61478ac736 --- /dev/null +++ b/dev-db/apgdiff/Manifest @@ -0,0 +1,4 @@ +DIST apgdiff-1.3-src.zip 181964 RMD160 f96143c4f43dfa86ef265ed889cabe23c97fe7a5 SHA1 e07bb5ce04202e6d66a899571f7a97280337f7e6 SHA256 fd89440d72ad0cdfde52b242c5323f87c983055f85ef62f368c29ab4b2b37376 +EBUILD apgdiff-1.3.ebuild 1142 RMD160 177e6538ff11720576820d44930d21a011271c12 SHA1 06e74ce4b0a547fa1e32dedc5440662e4bfd40a5 SHA256 08efbaf88292c692bd9e0c40cb35661abd91b875fbee510a7d8d87489e0db499 +MISC ChangeLog 273 RMD160 ca1dcc5f1af9b003fbfd4b91e2f65fffd0bd4732 SHA1 5058a9e225b973ef81d6a33a8c83da23bdbd07d1 SHA256 588e966d0cfbf3ea6d4927474fa1564e9c3617350beb88033b1626bd79adf421 +MISC metadata.xml 217 RMD160 6a03b58e975ef9766c1ba359b8cf73372aae1409 SHA1 9661e29f710f8b88d1ebad0d7cfa2716ae869b51 SHA256 00a5772b0da0819b665dba21d321e4e2393c818907d38678d179cafd5036c7f2 diff --git a/dev-db/apgdiff/apgdiff-1.3.ebuild b/dev-db/apgdiff/apgdiff-1.3.ebuild new file mode 100644 index 000000000000..aee328fcfc28 --- /dev/null +++ b/dev-db/apgdiff/apgdiff-1.3.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-db/apgdiff/apgdiff-1.3.ebuild,v 1.1 2008/10/22 14:48:21 fordfrog Exp $ + +EAPI="1" +JAVA_PKG_IUSE="doc source" +inherit eutils java-pkg-2 java-ant-2 + +DESCRIPTION="Another PostgreSQL Diff Tool is a simple PostgreSQL diff tool that is useful for schema upgrades." +HOMEPAGE="http://apgdiff.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}-src.zip" +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" + +DEPEND=">=virtual/jdk-1.5 + >=dev-java/ant-core-1.7.0:0 + >=dev-java/ant-junit-1.7.0:0 + app-arch/zip:0 + test? ( + dev-java/hamcrest-core:0 + >=dev-java/junit-4.4:4 + )" + +RDEPEND=">=virtual/jre-1.5" + +src_unpack() { + unpack ${A} + + mkdir "${S}"/lib + cd "${S}"/lib + if use test ; then + java-pkg_jar-from --build-only hamcrest-core + java-pkg_jar-from --build-only junit-4 + fi +} + +src_compile() { + eant -Dnoget=true jar $(use_doc) +} + +src_install() { + java-pkg_newjar dist/${P}.jar ${PN}.jar + java-pkg_dolauncher apgdiff --jar ${PN}.jar + + use doc && java-pkg_dojavadoc dist/javadoc + use source && java-pkg_dosrc src/main/java/* +} + +src_test() { + ANT_TASKS="ant-junit" eant -Dnoget=true test +} diff --git a/dev-db/apgdiff/metadata.xml b/dev-db/apgdiff/metadata.xml new file mode 100644 index 000000000000..407583277d87 --- /dev/null +++ b/dev-db/apgdiff/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>java</herd> +<maintainer> + <email>java@gentoo.org</email> +</maintainer> +</pkgmetadata> |