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/logback |
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-java/logback')
-rw-r--r-- | dev-java/logback/Manifest | 6 | ||||
-rw-r--r-- | dev-java/logback/logback-1.0.13-r1.ebuild | 61 | ||||
-rw-r--r-- | dev-java/logback/metadata.xml | 11 |
3 files changed, 78 insertions, 0 deletions
diff --git a/dev-java/logback/Manifest b/dev-java/logback/Manifest new file mode 100644 index 000000000000..4b57e5b7a3da --- /dev/null +++ b/dev-java/logback/Manifest @@ -0,0 +1,6 @@ +DIST logback-1.0.13-build.tar.bz2 2079 SHA256 eba80470d668ff30478d8ce060a97beaf1f2478db3785279e9c102c57ced52db SHA512 4d5a4385f427dbb6a0897459ab6d691c4b77460ea667d7e7a05e2f353730ef78ff712b1c0538e5c5f04fa4daf6605ca1da2dc1b9d0a35741192236b40e44d81e WHIRLPOOL 17554dc78acc7663475b52690c31d4be514f2c32cf0875894f42fb635e04292c4520735cb9187631baf14a13a56b33c678014b86cd07bf3413810f9e7559e887 +DIST logback-1.0.13.tar.gz 6989078 SHA256 4e5479b0d7f563e327cae486e4e3d7a1e1ec9aa950d7a0f60ea310db6223d5cd SHA512 974cdb6ba77c4654fa3f3bd6e7526eacfd6cf6369118e37436e441ac7742b0e98e4de49af4677cb0524b571639843059c6252751b2eeca58a39d6e9a12aa3814 WHIRLPOOL b7cf4be408499ae4f606dbce0a84fe0bb9e97c8aab88f097a8bdbfaaf44cb3fa035847213ed851520a1202f04b1915fc29d0af54c86ad7b2cb698c3891cf5d83 +EBUILD logback-1.0.13-r1.ebuild 1667 SHA256 7bf59aa14658f9bc5313b224b9c8d5829372b8c5b7ee450a961757653f31b257 SHA512 78b4c352e94833e7494186d0df5255bfe220e5407b2cd8bd40d3fbcc4aa73256365a385f53f81fe3b8134bd6e2fc8f07a5b0c3379167b16ec0d98b88540aa857 WHIRLPOOL 1d516bbfdc4cd4df3d07fbc57a22e7d219be2d8887433bdc70486ccf866096cfc9c00a3a06a00eabf98e4ae00084b78f5d3987b1aa32814a81f4389ed396a9e1 +MISC ChangeLog 3288 SHA256 0ea5e34b666b3ecde9da66cb4df1519a0d8fa4bd6f5d103b0d52ce1d0e8eaedb SHA512 c8d5e34b4d53504855c058f8228c628da9434291ed93928c8a01ff5b371fdb7c6c5425eb8ac6c7071d8d41638e2cdba630d2a873c9cb8581c9c6ab2aa72c3102 WHIRLPOOL 542dedb2e9e113320a92a134126b59a957c095dd6709f33ea5dea34aa09389c811a80fa0c81c64527ae0980d06461e4274690702dff5c382593447b5adb70fdd +MISC ChangeLog-2015 572 SHA256 2b9eb45a2eb5d8e0d62db46c24308c3bd372fa31eadf4a33fd556561cf9127ad SHA512 67021c7715f1d6b9b39eb7e73d51f4b9e534c136b4a4a11f2880d80115f03e0fe1506a6d0eb5c3aa06f4944ca2ed00b80ce0b8247f48a9cc9047a8636f041674 WHIRLPOOL 5326facfec82209a02a2563d82812f489ad5be27f71280486d2159dd907b7a35d7643b2b00cb7e096cac6e8098ee73982435beb839e53e8667ae622cb53297a0 +MISC metadata.xml 309 SHA256 b27a13d17b865e5a5470b091112d2fb7fe5740841494acafd698f4537c37429c SHA512 f14e640a615329341196a8b003f1b12de45594ca6a5b2f1927f210ee94c619b586594227fc43a737c889b2036bfc80a6a11467775b657be853087339742d181a WHIRLPOOL 3d4b9c3789caf7f4210af881f79386b59c4610c152390f91555baa9be010b3c60ac081cf2021d2f79dd1d9ca86ff78ec437e5517e72f299b418376cb7a51b1c8 diff --git a/dev-java/logback/logback-1.0.13-r1.ebuild b/dev-java/logback/logback-1.0.13-r1.ebuild new file mode 100644 index 000000000000..dd05a98cec6f --- /dev/null +++ b/dev-java/logback/logback-1.0.13-r1.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +JAVA_PKG_IUSE="doc source examples" + +inherit java-pkg-2 java-ant-2 + +DESCRIPTION="A generic, reliable, fast & flexible logging framework for Java" +HOMEPAGE="http://logback.qos.ch/" +SRC_URI="http://logback.qos.ch/dist/${PN}-${PV}.tar.gz + https://dev.gentoo.org/~ercpe/distfiles/${CATEGORY}/${PN}/${P}-build.tar.bz2" + +LICENSE="|| ( EPL-1.0 LGPL-2.1 )" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="tomcat" + +CDEPEND=" + dev-java/jansi:0 + dev-java/janino:0 + dev-java/slf4j-api:0 + dev-java/oracle-javamail:0 + java-virtuals/servlet-api:3.0 + tomcat? ( www-servers/tomcat:7 ) +" + +RDEPEND="${CDEPEND} + >=virtual/jre-1.6" +DEPEND="${CDEPEND} + >=virtual/jdk-1.6" + +JAVA_ANT_REWRITE_CLASSPATH="true" +EANT_GENTOO_CLASSPATH=" + jansi + janino + slf4j-api + oracle-javamail + servlet-api-3.0 +" +EANT_GENTOO_CLASSPATH_EXTRA="${S}/${PN}-core/target/${PN}-core.jar" + +java_prepare() { + find "${S}" -name "*.jar" -delete || die + + use tomcat || rm -r "${S}"/${PN}-access/src/main/java/ch/qos/logback/access/tomcat/ || die + # remove the next line when we have jetty in the tree + rm -r "${S}"/${PN}-access/src/main/java/ch/qos/logback/access/jetty/ || die + + use tomcat && EANT_GENTOO_CLASSPATH+=",tomcat-7" +} + +src_install() { + java-pkg_dojar "${S}"/${PN}-core/target/${PN}-core.jar + java-pkg_dojar "${S}"/${PN}-access/target/${PN}-access.jar + + use source && java-pkg_dosrc "${S}"/${PN}-core/src/main/java "${S}"/${PN}-access/src/main/java + use doc && java-pkg_dojavadoc "${S}"/${PN}-core/target/site/apidocs + use examples && java-pkg_doexamples "${S}"/${PN}-examples/src/main/java/chapters/* +} diff --git a/dev-java/logback/metadata.xml b/dev-java/logback/metadata.xml new file mode 100644 index 000000000000..22f9cc83879f --- /dev/null +++ b/dev-java/logback/metadata.xml @@ -0,0 +1,11 @@ +<?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> + <use> + <flag name="tomcat">Builds Apache Tomcat support</flag> + </use> +</pkgmetadata> |