summaryrefslogtreecommitdiff
path: root/dev-java/htmlparser
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-java/htmlparser
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-java/htmlparser')
-rw-r--r--dev-java/htmlparser/Manifest6
-rw-r--r--dev-java/htmlparser/files/build.xml19
-rw-r--r--dev-java/htmlparser/htmlparser-1.4-r1.ebuild46
-rw-r--r--dev-java/htmlparser/metadata.xml8
4 files changed, 79 insertions, 0 deletions
diff --git a/dev-java/htmlparser/Manifest b/dev-java/htmlparser/Manifest
new file mode 100644
index 000000000000..d7881b35fc0f
--- /dev/null
+++ b/dev-java/htmlparser/Manifest
@@ -0,0 +1,6 @@
+AUX build.xml 559 SHA256 dc9ff4e15a7735237897d560d34ee7aa82d46c3cd51793a9743185b203ed366a SHA512 87abca9840918f40261f87f7c157d23fabedb8141c80a097efb874e986bc6da00b319412cfadd41ed781f1d0d4b13259152347eb6d084c73c4fc867e830af65a WHIRLPOOL 55ecec03371a44d84f7fde5928a47ab67bee2e82f3599ecde304383be0bc62620f17290195257656f85344011b09ec9aaa54cb2ed4eadea8d53c27e96679cd5f
+DIST htmlparser-1.4.zip 1425388 SHA256 4e696a17f25a6983c846bb72b8f4e1920659d6a1677d5620eff60417260b586c SHA512 eb0587c808b287bbb18acbba11e8efe5bd0dededd96f6bf34ef59b92144227cf8368bf76474a2c1d87a5d6b635a63057faa9d18e2a1a2d7dfeacbfaa64e57700 WHIRLPOOL ae5de0f11b294ce7c831c1e4e121e0f4d2fe354883de3f83ed33c930180bb73f4d224edfbf75754c0d560946b6cddc03d71551f7219472a71d8952a71cf7c8b9
+EBUILD htmlparser-1.4-r1.ebuild 884 SHA256 6dad0b52b62cdf233fa40ab6e13ee3f7a8d66cf20e0a9dab4df0917ec8a99738 SHA512 ce7ef671f3405d15d682c978461883df3877d03440b7d8cb9eb36429b71842e7381b0217f5975ef9ed97c949b09df263b5dbfc9fb768dd4dfdbeb7e3f074dc75 WHIRLPOOL c029c02869636b435f61b5e2d63ab470014a7b65f03cb9624981dc7e0c079f7394d4755723e545a436a782d3dfd57fa97a5f7900c1673c6ac710bfc04d8b17f3
+MISC ChangeLog 2893 SHA256 7f4ae4bb64af11678db8076259c250b89193987f5e2b4d25fa3c40987590dd17 SHA512 1c8aad6be3d747e7b1dc3975ebaf3af3570c8355e1ac96bfd186efa3f9e09764992526d07d411f9784abe194c123c531caa5b75f049becf2ab409a30841cc446 WHIRLPOOL 71f40d4d0ab499cd4154f839f38190a909861d5d46949d8ce43181876fd189e131473d65fcd3b646c9587ddef3243ab5f1318bdc11ad57e44f92f9a5ee9137d0
+MISC ChangeLog-2015 897 SHA256 7930056b9646f10586edfd4038f95131983521e172e6d41ecb193c5f072c8955 SHA512 dd4334d1edd8386cfca092c8cc7d9128d12744ff7eee4572eae7231b52240f3c755c21d5de1487240235fea9de04f5389595aa74d1692c5e0e1bac509abc98b9 WHIRLPOOL 3f10a3206a610907701a0e739a4c19fa834192aed73df6dd33ae2f7209fe2029f69bb5d505393ed1b5749affa187fd8728e9c6e1b634edee35b212aaae59d8c8
+MISC metadata.xml 236 SHA256 3e778d35b34b5cc1a4dd7ce105fe7d2a99b25fb6dfe24709455da94baa8a0548 SHA512 1755c2590e59060f697294c5ad125b83f2d50e05a71f7091b7de75953941914cd2db3a893bd6154a2c90fa4aff5e313e75e3e174dbba1edd5c112787da5be253 WHIRLPOOL 7967660784d0d28e9a3c3c222c5bf85b3a8b59fd84b61780e4e7cc1aa5d8bd87bee40e4c5c42e646f15d6641fe182340bcbe8be94c785f40e0ac870c7a96e5cc
diff --git a/dev-java/htmlparser/files/build.xml b/dev-java/htmlparser/files/build.xml
new file mode 100644
index 000000000000..ad0d4b0c1d09
--- /dev/null
+++ b/dev-java/htmlparser/files/build.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0"?>
+<project name="htmlparser" default="jar">
+ <path id="build.classpath">
+ <fileset dir="lib/">
+ <include name="*.jar"/>
+ </fileset>
+ </path>
+ <target name="compile">
+ <mkdir dir="build"/>
+ <javac srcdir="src" destdir="build" classpathref="build.classpath"/>
+ </target>
+ <target name="jar" depends="compile">
+ <jar destfile="htmlparser.jar" basedir="build"/>
+ </target>
+ <target name="javadoc" depends="compile">
+ <mkdir dir="docs"/>
+ <javadoc sourcepath="src" destdir="docs" classpathref="build.classpath"/>
+ </target>
+</project>
diff --git a/dev-java/htmlparser/htmlparser-1.4-r1.ebuild b/dev-java/htmlparser/htmlparser-1.4-r1.ebuild
new file mode 100644
index 000000000000..f1d565a5e400
--- /dev/null
+++ b/dev-java/htmlparser/htmlparser-1.4-r1.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+JAVA_PKG_IUSE="doc source"
+
+inherit java-pkg-2 java-ant-2
+
+DESCRIPTION="Implementation of the HTML5 parsing algorithm in Java"
+HOMEPAGE="http://about.validator.nu/htmlparser/"
+SRC_URI="http://about.validator.nu/${PN}/${P}.zip"
+
+LICENSE="W3C"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE=""
+
+CDEPEND="
+ dev-java/icu4j:52
+ dev-java/jchardet:0
+ dev-java/xom:0"
+
+RDEPEND="
+ ${CDEPEND}
+ >=virtual/jre-1.6"
+
+DEPEND="
+ ${CDEPEND}
+ app-arch/unzip
+ >=virtual/jdk-1.6"
+
+java_prepare() {
+ java-pkg_clean
+ mkdir -p build lib || die
+ cp "${FILESDIR}/build.xml" build.xml || die "cp failed"
+}
+
+JAVA_ANT_REWRITE_CLASSPATH="yes"
+EANT_GENTOO_CLASSPATH="icu4j-52,xom,jchardet"
+
+src_install() {
+ java-pkg_dojar "${PN}.jar"
+ use source && java-pkg_dosrc src/*
+ use doc && java-pkg_dojavadoc docs
+}
diff --git a/dev-java/htmlparser/metadata.xml b/dev-java/htmlparser/metadata.xml
new file mode 100644
index 000000000000..952a4b9b605c
--- /dev/null
+++ b/dev-java/htmlparser/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>