diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-java/sat4j-pseudo |
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-java/sat4j-pseudo')
-rw-r--r-- | dev-java/sat4j-pseudo/Manifest | 9 | ||||
-rw-r--r-- | dev-java/sat4j-pseudo/metadata.xml | 8 | ||||
-rw-r--r-- | dev-java/sat4j-pseudo/sat4j-pseudo-2.2.0.ebuild | 68 | ||||
-rw-r--r-- | dev-java/sat4j-pseudo/sat4j-pseudo-2.3.1.ebuild | 68 |
4 files changed, 153 insertions, 0 deletions
diff --git a/dev-java/sat4j-pseudo/Manifest b/dev-java/sat4j-pseudo/Manifest new file mode 100644 index 000000000000..73705238e4fe --- /dev/null +++ b/dev-java/sat4j-pseudo/Manifest @@ -0,0 +1,9 @@ +DIST sat4j-pb-v20100623.zip 487925 SHA256 58f6afd05c3bdc81314bf34ef606e2323a27ef8a942312fc88fce757afbdf8dd SHA512 6aba2438070a3060fc26229fee1e30f8cfd37f2699c2ba28c4b7071fde2ad9be6ad22138b0e6beb7409b7eb57d3c44733c440ba2cf0ea36c7ea068e411a1a2e8 WHIRLPOOL 345ea01f5b5051a860c89e9bb77becbcd4b81997d688acc5363ee32006144331dd46e8ea557c3c8a191d077f5c1cd439034b8933e3670b8f470546227857e423 +DIST sat4j-pb-v20111030.zip 650535 SHA256 79ea72ef37fde854177345c4f02f9efc123f60590b183c61b1799ad7b28825fd SHA512 ee27501e8c4efb3cf960278fdca0111442e14edcf303ffb9adea2c0e6b5dc7dce2df0304ea1aa05a1b00000478f9283230c7594325195be557a7bb459250fd9a WHIRLPOOL 430a9acc193bd88f41e4fbc0e2361fb8bfaf384ea7a7f3cd1a65b74dbb0131e172d0c98f84751c4d11134a7133b9e3babbf4ce589b5d7db3339c4e828aa9e1e1 +DIST sat4j-pseudo-2.2.0-build.xml 9458 SHA256 f0d05ae4fa0485b0dacc3627120b6d7053e24356127a12733a95f85f30bca2d8 SHA512 ab09e0773adaf578e87503373b6156d42430270472c07159ad8246ae6c2f20c02447776c1b925fb0d4eaeed6dd3f7c3b0f36a5a410f0e22d2594b9b4deeb4d7a WHIRLPOOL b57e3e77a74b9205fec29a57ea4ce13b34d7f8891e01b3b7a928b2f009f49e58ca2c41f258bf34019f8e57f0e243bed8be26f9c4f0070458ebd7330351cffe55 +DIST sat4j-pseudo-2.3.1-build.xml 9458 SHA256 f0d05ae4fa0485b0dacc3627120b6d7053e24356127a12733a95f85f30bca2d8 SHA512 ab09e0773adaf578e87503373b6156d42430270472c07159ad8246ae6c2f20c02447776c1b925fb0d4eaeed6dd3f7c3b0f36a5a410f0e22d2594b9b4deeb4d7a WHIRLPOOL b57e3e77a74b9205fec29a57ea4ce13b34d7f8891e01b3b7a928b2f009f49e58ca2c41f258bf34019f8e57f0e243bed8be26f9c4f0070458ebd7330351cffe55 +EBUILD sat4j-pseudo-2.2.0.ebuild 1594 SHA256 0ca1ab62302d749e9e5fb5675eb8bc8ec1f54ee185d1166840ca50f0a5d51fbb SHA512 73cf62efcedbddc0b1d6972d7a02773c56dd07dfc2cfecc908ba017c78e6ea3b561c152c2da0ec271f6440c1174c8da6d7e0aad052eaf4789c578fd63abef199 WHIRLPOOL b660a2ca77699d9b5902d57295097158081f69b7ee8cd6af22f0f9abbc7f5cd94ebd0ba39a05c39a474e6d351040f7be594ab0f0d89530675dc9b8edddf0ab6e +EBUILD sat4j-pseudo-2.3.1.ebuild 1602 SHA256 bcb2fac51cefa0f98ff107a29dfd9573b1bc6cdc748f157bfc99f15327f466e6 SHA512 e8b614d0f90ed58492743a11b1843de6c6baa72120cff41ea055b41c186d400fe5ea6ed5c169e564dba952f2636aa1e5835fa6c3558bd1c8e28c4e243e72e2e2 WHIRLPOOL fbb3e7138837d39a267ff1e539284c37a75e16135d42ed40109c6ea2f4604dc11f6a05e264cf36045252992cfbc1a3427bab72c16c9380bbedc9341a6e2709dc +MISC ChangeLog 2897 SHA256 84c1194014b785565646f6b6972a056111434910bd837a6bd1583c995d7b385e SHA512 92138af3c672d93ec81c9763a4086afdc8c10420df15eeccac89f4c4fcf57e329ab6e1e794011d291d5875d971d077fde8c6796fdad77ac7847f6844e7008970 WHIRLPOOL b9364f3abba8fdacb3478af8e6d7a7d3ed4d15157575895e96f23ec7137ebf6893cd316991cab1c338960c77f57c4469d1b00e12dea7cacb70fc159cb830fc34 +MISC ChangeLog-2015 1944 SHA256 d3b80648eaaa5f099aacd4811725eebde7b698f7508f7d566f5ec3a0a993ba9b SHA512 cbd155c153956d7c0ee1bada2d9de6e89764d1ed1e176607197f1a8a11b68fa1ac8a6189b4049bc7e2ab17301e03de1c6904aa776256cff5ffcb0ee63116a0f8 WHIRLPOOL e1ec739681c599e46953e864de07caedab41cf88dc9145a2bb4952f2698249ec862e9daf0b9f9b091d392b16eff6712a4c85e5f87c8c355ec7afc007175a310d +MISC metadata.xml 236 SHA256 3e778d35b34b5cc1a4dd7ce105fe7d2a99b25fb6dfe24709455da94baa8a0548 SHA512 1755c2590e59060f697294c5ad125b83f2d50e05a71f7091b7de75953941914cd2db3a893bd6154a2c90fa4aff5e313e75e3e174dbba1edd5c112787da5be253 WHIRLPOOL 7967660784d0d28e9a3c3c222c5bf85b3a8b59fd84b61780e4e7cc1aa5d8bd87bee40e4c5c42e646f15d6641fe182340bcbe8be94c785f40e0ac870c7a96e5cc diff --git a/dev-java/sat4j-pseudo/metadata.xml b/dev-java/sat4j-pseudo/metadata.xml new file mode 100644 index 000000000000..952a4b9b605c --- /dev/null +++ b/dev-java/sat4j-pseudo/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>java@gentoo.org</email> + <name>Java</name> + </maintainer> +</pkgmetadata> diff --git a/dev-java/sat4j-pseudo/sat4j-pseudo-2.2.0.ebuild b/dev-java/sat4j-pseudo/sat4j-pseudo-2.2.0.ebuild new file mode 100644 index 000000000000..b8b5bfbf3d9b --- /dev/null +++ b/dev-java/sat4j-pseudo/sat4j-pseudo-2.2.0.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="2" + +MY_PN="org.sat4j.pb" +MY_PV="20100623" +BUILD_PV="2.4" + +JAVA_PKG_IUSE="doc source" +inherit java-pkg-2 java-ant-2 + +DESCRIPTION="Pseudo Boolean solvers" +HOMEPAGE="http://www.sat4j.org/" +SRC_URI="http://download.forge.objectweb.org/sat4j/sat4j-pb-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="" + +CDEPEND="dev-java/sat4j-core:2" + +RDEPEND="${CDEPEND} + >=virtual/jre-1.5" + +DEPEND="${CDEPEND} + >=virtual/jdk-1.5" + +S="${WORKDIR}" + +src_unpack() { + unpack sat4j-pb-v${MY_PV}.zip +} + +java_prepare() { + mkdir -p {core,pb}/{lib,src} || die + + # Don't complain about missing javadoc stylesheet. + touch core/lib/stylesheet.css + + # Grab build.xml. Don't fetch from CVS. Don't build core. + sed -e 's/depends="core"//g' \ + -e 's/depends="prepare,getsource"/depends="prepare"/g' \ + "${DISTDIR}/${P}-build.xml" > build.xml || die + + # This is the version identifier used for custom builds. + echo 'CUSTOM' > core/src/sat4j.version || die + + # Unpack manifest. + cd pb || die + jar xf "${WORKDIR}/${MY_PN}.jar" META-INF || die + + # Unpack sources. + cd src || die + jar xf "${WORKDIR}/${MY_PN}-src.jar" || die +} + +JAVA_ANT_REWRITE_CLASSPATH="yes" +EANT_BUILD_TARGET="pseudo" +EANT_GENTOO_CLASSPATH="sat4j-core-2" +EANT_DOC_TARGET="javadoc -Dmodule=pb -Dlib=pb/lib" + +src_install() { + java-pkg_dojar dist/CUSTOM/${MY_PN}.jar + use doc && java-pkg_dojavadoc api/pb + use source && java-pkg_dosrc pb/src/org +} diff --git a/dev-java/sat4j-pseudo/sat4j-pseudo-2.3.1.ebuild b/dev-java/sat4j-pseudo/sat4j-pseudo-2.3.1.ebuild new file mode 100644 index 000000000000..d405ae412f17 --- /dev/null +++ b/dev-java/sat4j-pseudo/sat4j-pseudo-2.3.1.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="2" + +MY_PN="org.sat4j.pb" +MY_PV="20111030" +BUILD_PV="2.4" + +JAVA_PKG_IUSE="doc source" +inherit java-pkg-2 java-ant-2 + +DESCRIPTION="Pseudo Boolean solvers" +HOMEPAGE="http://www.sat4j.org/" +SRC_URI="http://download.forge.objectweb.org/sat4j/sat4j-pb-v${MY_PV}.zip + http://download.forge.objectweb.org/sat4j/build-${BUILD_PV}.xml -> ${P}-build.xml" +LICENSE="LGPL-2.1" +SLOT="2.3" +KEYWORDS="~amd64 ~x86" +IUSE="" + +CDEPEND="dev-java/sat4j-core:2.3" + +RDEPEND="${CDEPEND} + >=virtual/jre-1.5" + +DEPEND="${CDEPEND} + >=virtual/jdk-1.5" + +S="${WORKDIR}" + +src_unpack() { + unpack sat4j-pb-v${MY_PV}.zip +} + +java_prepare() { + mkdir -p {core,pb}/{lib,src} || die + + # Don't complain about missing javadoc stylesheet. + touch core/lib/stylesheet.css + + # Grab build.xml. Don't fetch from CVS. Don't build core. + sed -e 's/depends="core"//g' \ + -e 's/depends="prepare,getsource"/depends="prepare"/g' \ + "${DISTDIR}/${P}-build.xml" > build.xml || die + + # This is the version identifier used for custom builds. + echo 'CUSTOM' > core/src/sat4j.version || die + + # Unpack manifest. + cd pb || die + jar xf "${WORKDIR}/${MY_PN}.jar" META-INF || die + + # Unpack sources. + cd src || die + jar xf "${WORKDIR}/${MY_PN}-src.jar" || die +} + +JAVA_ANT_REWRITE_CLASSPATH="yes" +EANT_BUILD_TARGET="pseudo" +EANT_GENTOO_CLASSPATH="sat4j-core-2.3" +EANT_DOC_TARGET="javadoc -Dmodule=pb -Dlib=pb/lib" + +src_install() { + java-pkg_dojar dist/CUSTOM/${MY_PN}.jar + use doc && java-pkg_dojavadoc api/pb + use source && java-pkg_dosrc pb/src/org +} |