diff options
Diffstat (limited to 'dev-java')
-rw-r--r-- | dev-java/sat4j-core/ChangeLog | 14 | ||||
-rw-r--r-- | dev-java/sat4j-core/Manifest | 5 | ||||
-rw-r--r-- | dev-java/sat4j-core/metadata.xml | 6 | ||||
-rw-r--r-- | dev-java/sat4j-core/sat4j-core-2.1.ebuild | 58 | ||||
-rw-r--r-- | dev-java/sat4j-pseudo/Manifest | 5 |
5 files changed, 88 insertions, 0 deletions
diff --git a/dev-java/sat4j-core/ChangeLog b/dev-java/sat4j-core/ChangeLog new file mode 100644 index 000000000000..80be9220d0b5 --- /dev/null +++ b/dev-java/sat4j-core/ChangeLog @@ -0,0 +1,14 @@ +# ChangeLog for dev-java/sat4j-core +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/sat4j-core/ChangeLog,v 1.1 2009/12/09 09:48:05 ali_bush Exp $ + + 09 Dec 2009; Alistair Bush <ali_bush@gentoo.org> +sat4j-core-2.1.ebuild, + +metadata.xml: + Move into main tree to await the arrival of eclipse-sdk. + +*sat4j-core-2.1 (03 Nov 2009) + + 03 Nov 2009; Alistair Bush <ali_bush@gentoo.org> +sat4j-core-2.1.ebuild, + +metadata.xml: + New Ebuild based on the work done by Matt Whitlock <matt@whitlock.name> + diff --git a/dev-java/sat4j-core/Manifest b/dev-java/sat4j-core/Manifest new file mode 100644 index 000000000000..4a7be9bb3d02 --- /dev/null +++ b/dev-java/sat4j-core/Manifest @@ -0,0 +1,5 @@ +DIST sat4j-core-2.1-build.xml 9458 RMD160 a42173b5390cbf8027d180eb8d857cbae124e29b SHA1 70ce855116615e1e13283e00dd2e20eeae2d5447 SHA256 f0d05ae4fa0485b0dacc3627120b6d7053e24356127a12733a95f85f30bca2d8 +DIST sat4j-core-v20090520.zip 362980 RMD160 23354d813052704209266f5954c45ccdfb6fee1e SHA1 102a118034faf4c7643d4675e729ca31e44dbfd2 SHA256 0022e009b76ed8ba861ccb2a5f8bad8ac534e3ad50ef0ef3e9e7aaa2d5185397 +EBUILD sat4j-core-2.1.ebuild 1459 RMD160 407df9f61e94271f8edcbccae80ec73ac1c5f388 SHA1 3a3ea7c683db95fade3279dce51c1a2f90a6ba3a SHA256 b8bf10085c90afd3674dc0236399ad7d0fa89b3d8d7991b9d3d9a8ac6db5deb8 +MISC ChangeLog 563 RMD160 8fa0ed358c079c2e4597bdb69a725a5fef956d51 SHA1 c34fa4302d681a7a846bdb61cae05a13772905e1 SHA256 f00e999d20a14d7e87b04a11c37a38b25dee12490ec1420e8dc972edbfbebedb +MISC metadata.xml 159 RMD160 5259d4be0ca7b74c28e711d45a289def9aeadbd9 SHA1 c4ec40cd8f19e0d780a5133941bc50043be198cf SHA256 1c070a909e96d9d193f84ad9304d196febbe33b60a724cc4b0d20634bb82255b diff --git a/dev-java/sat4j-core/metadata.xml b/dev-java/sat4j-core/metadata.xml new file mode 100644 index 000000000000..604e0a4238bb --- /dev/null +++ b/dev-java/sat4j-core/metadata.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>java</herd> +</pkgmetadata> + diff --git a/dev-java/sat4j-core/sat4j-core-2.1.ebuild b/dev-java/sat4j-core/sat4j-core-2.1.ebuild new file mode 100644 index 000000000000..4dc729c27a2b --- /dev/null +++ b/dev-java/sat4j-core/sat4j-core-2.1.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/sat4j-core/sat4j-core-2.1.ebuild,v 1.1 2009/12/09 09:48:05 ali_bush Exp $ + +EAPI="2" + +MY_PN="org.${PN//-/.}" +MY_PV="20090520" +BUILD_PV="2.4" +JAVA_PKG_IUSE="doc source" + +inherit java-pkg-2 java-ant-2 + +DESCRIPTION="Lightweight constraint programming with a SAT solver" +HOMEPAGE="http://www.sat4j.org/" +SRC_URI="http://download.forge.objectweb.org/sat4j/${PN}-v${MY_PV}.zip + http://download.forge.objectweb.org/sat4j/build-${BUILD_PV}.xml -> ${P}-build.xml" +LICENSE="LGPL-2.1" +SLOT="2" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND=">=virtual/jre-1.5" +DEPEND=">=virtual/jdk-1.5" + +S="${WORKDIR}" + +src_unpack() { + unpack ${PN}-v${MY_PV}.zip +} + +java_prepare() { + mkdir -p core/{lib,src} || die + + # Don't complain about missing javadoc stylesheet. + touch core/lib/stylesheet.css + + # Grab build.xml. Don't fetch from CVS. + sed 's/depends="prepare,getsource"/depends="prepare"/g' \ + "${DISTDIR}/${P}-build.xml" > build.xml || die + + # Unpack manifest. + cd core || die + jar xf "${WORKDIR}/${MY_PN}.jar" META-INF || die + + # Unpack sources. + cd src || die + jar xf "${WORKDIR}/${MY_PN}-src.jar" || die +} + +EANT_BUILD_TARGET="core" +EANT_DOC_TARGET="javadoc -Dmodule=core -Dlib=core/lib" + +src_install() { + java-pkg_dojar dist/CUSTOM/${MY_PN}.jar + use doc && java-pkg_dojavadoc api/core + use source && java-pkg_dosrc core/src/org +} diff --git a/dev-java/sat4j-pseudo/Manifest b/dev-java/sat4j-pseudo/Manifest new file mode 100644 index 000000000000..1cf6c3f39dfb --- /dev/null +++ b/dev-java/sat4j-pseudo/Manifest @@ -0,0 +1,5 @@ +DIST sat4j-pb-v20090520.zip 208044 RMD160 edf833e16a21e6f26b34b545a7db9e2118a7b16d SHA1 78d2516c564d8b5f9a0ba3d97f3a9f244ceb7227 SHA256 89f201e0fc365c7836fa3ab79182083a36f9c340a908fd8acf732f77ae2ccf83 +DIST sat4j-pseudo-2.1-build.xml 9458 RMD160 a42173b5390cbf8027d180eb8d857cbae124e29b SHA1 70ce855116615e1e13283e00dd2e20eeae2d5447 SHA256 f0d05ae4fa0485b0dacc3627120b6d7053e24356127a12733a95f85f30bca2d8 +EBUILD sat4j-pseudo-2.1.ebuild 1718 RMD160 416ccdcdfcd0f4754092338f0f3b1d9361093772 SHA1 894440b7f2ce09515eb89457b8c3c062c53e4572 SHA256 d4fffb0effe999124a91db5840d216012a7c93a67611b431e72799429a5b964b +MISC ChangeLog 577 RMD160 ace5e97a572e7818d75b24e89d254971178b5cc9 SHA1 d8e3c75343444940d9e051bedbdd6dd5972f3323 SHA256 466b953ace04929afa42d40abea2e4082b7d92b71831bcfc3108ad1bfac89063 +MISC metadata.xml 159 RMD160 5259d4be0ca7b74c28e711d45a289def9aeadbd9 SHA1 c4ec40cd8f19e0d780a5133941bc50043be198cf SHA256 1c070a909e96d9d193f84ad9304d196febbe33b60a724cc4b0d20634bb82255b |