summaryrefslogtreecommitdiff
path: root/dev-java/boilerpipe
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
commit8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch)
tree7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-java/boilerpipe
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-java/boilerpipe')
-rw-r--r--dev-java/boilerpipe/Manifest3
-rw-r--r--dev-java/boilerpipe/boilerpipe-1.2.0.ebuild40
-rw-r--r--dev-java/boilerpipe/metadata.xml8
3 files changed, 51 insertions, 0 deletions
diff --git a/dev-java/boilerpipe/Manifest b/dev-java/boilerpipe/Manifest
new file mode 100644
index 000000000000..2be1d12df8c2
--- /dev/null
+++ b/dev-java/boilerpipe/Manifest
@@ -0,0 +1,3 @@
+DIST boilerpipe-1.2.0-src.tar.gz 46279 BLAKE2B 21e146bc772b6025dd22939fab64777bbbb55b3016ccb9627dfb7c1c4d3eb2fd61243aae2e22cd973e77a11eccba45b9a5837f08db265edb703779a46f08abe3 SHA512 db9349213debab932d2470e46f1e80366d6a6ca99e016b6f9ed4887881eecd4132e9aef29b8e4fe8282d1375d60b88a99d9aa43e249d6b673739ec017d2472a6
+EBUILD boilerpipe-1.2.0.ebuild 800 BLAKE2B 52acc306bf9782794dfd21beb710851a8a59df3be8ab1c990bb6bd6d8c6f45295b518ff9a7eb186da525c8285639b9b9aff7cd261ae7d89feaa2d8d675d6682c SHA512 13826a7c84190fabb2ffeed05e9fee0e3dcfaa63ea1f0f6e9cb70db9433ed803f0da87f5731853bb73ff744b9e9b6c2f3c65cc4422c47842120c192be4167e19
+MISC metadata.xml 255 BLAKE2B 287d65f3a6609362260b1406a0226c14b3be2b9ed17b5c4f422e718693a57b37c871914d2e8c60609eddf7339e4aba2fc257585e4a58c174f07395077a1a7485 SHA512 d11126781bff8c65605f533936f2817d35cfd1d88e89b33cc37ffa5af1d2b93bf22987c822b710719e9a0c0839563990acf4082ee30a5a0af6b0df3f8377ab62
diff --git a/dev-java/boilerpipe/boilerpipe-1.2.0.ebuild b/dev-java/boilerpipe/boilerpipe-1.2.0.ebuild
new file mode 100644
index 000000000000..3ec2b0f9e9a7
--- /dev/null
+++ b/dev-java/boilerpipe/boilerpipe-1.2.0.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+JAVA_PKG_IUSE="source"
+
+inherit java-pkg-2 java-ant-2
+
+DESCRIPTION="Boilerplate Removal and Fulltext Extraction from HTML pages"
+HOMEPAGE="https://github.com/kohlschutter/boilerpipe"
+SRC_URI="https://${PN}.googlecode.com/files/${P}-src.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="amd64 x86"
+
+IUSE=""
+
+CDEPEND="dev-java/xerces:2
+ dev-java/nekohtml:0"
+
+DEPEND=">=virtual/jdk-1.6
+ ${CDEPEND}"
+
+RDEPEND=">=virtual/jre-1.6
+ ${CDEPEND}"
+
+EANT_BUILD_TARGET="jars"
+JAVA_ANT_REWRITE_CLASSPATH="true"
+EANT_GENTOO_CLASSPATH="xerces-2,nekohtml"
+
+java_prepare() {
+ mkdir "${S}"/lib || die
+}
+
+src_install() {
+ java-pkg_newjar dist/${P}.jar ${PN}.jar
+ use source && java-pkg_dosrc src/main/*
+}
diff --git a/dev-java/boilerpipe/metadata.xml b/dev-java/boilerpipe/metadata.xml
new file mode 100644
index 000000000000..07ba689dd861
--- /dev/null
+++ b/dev-java/boilerpipe/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-needed -->
+ <upstream>
+ <remote-id type="github">kohlschutter/boilerpipe</remote-id>
+ </upstream>
+</pkgmetadata>