diff options
Diffstat (limited to 'dev-java/jortho')
-rw-r--r-- | dev-java/jortho/Manifest | 3 | ||||
-rw-r--r-- | dev-java/jortho/jortho-1.0.ebuild | 42 | ||||
-rw-r--r-- | dev-java/jortho/metadata.xml | 11 |
3 files changed, 56 insertions, 0 deletions
diff --git a/dev-java/jortho/Manifest b/dev-java/jortho/Manifest new file mode 100644 index 000000000000..f92d19da3636 --- /dev/null +++ b/dev-java/jortho/Manifest @@ -0,0 +1,3 @@ +DIST JOrtho_1.0.zip 278599 BLAKE2B 3a8180005b0f34301aeeb5def5ea1b9854f404f14d8c27fd07a74209eeb7e27e1857568a12f7633a0da0ad9ce19324a07baa89370d670a2c8cd7501861fc9c9c SHA512 e9d99984e954711125eaace5d6bd3c7ec92dfbcf85cb567f0643a61533334a7d7b3d34bc47e2b2a147631edccc6898b9fbe4c999836f1638ef284aa0479a400c +EBUILD jortho-1.0.ebuild 913 BLAKE2B ab9484ec70cea53307989c72838a72a4dd03b66856cff00692c0a20b79b2a4f0a484efa38d520d0c42514b60a4a0684451bde0b3272cf563e196f5a46b187fd3 SHA512 f1f6b6c0133aedef93ac8ba3378dfe73f778ff354f701284b9e9eeccf9cbd8667649415eb6ed66de7ccb46b55a36434c7d932ce5de785e4cdf1f286b7ead65cd +MISC metadata.xml 312 BLAKE2B fade487164fa1518f3f4febf1ad785530d1d3e717394152800d50d6460e518ef440629a75f70a16c7ba02525e673b445f616bf48bb85b8a7f5851ea9544f0178 SHA512 eaa94dcf310fb056e6d27e7a9ccec7cfa8aa0f36c0e827dad5d839e39e4d7558296d603deeb584b6f4ee8e9ea92058c03102bc6b8ae6f3e4870dd26b4524b9b3 diff --git a/dev-java/jortho/jortho-1.0.ebuild b/dev-java/jortho/jortho-1.0.ebuild new file mode 100644 index 000000000000..f8d16101d570 --- /dev/null +++ b/dev-java/jortho/jortho-1.0.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +JAVA_PKG_IUSE="doc examples source" + +inherit java-pkg-2 java-pkg-simple + +DESCRIPTION="A Java spell-checking library" +HOMEPAGE="https://www.inetsoftware.de/other-products/jortho" +SRC_URI="mirror://sourceforge/project/jortho/JOrtho%20Library/${PV}/JOrtho_${PV}.zip" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +RDEPEND=" + >=virtual/jre-1.5" +DEPEND=" + >=virtual/jdk-1.5 + app-arch/unzip" + +java_prepare() { + find . -name '*.jar' -exec rm -v {} + || die +} + +JAVA_SRC_DIR="src/com" +src_compile() { + mkdir -p target/classes/com/inet/jortho/i18n || die + find src -name '*.properties' \ + -exec cp {} target/classes/com/inet/jortho/i18n \; || die + + java-pkg-simple_src_compile +} + +src_install() { + java-pkg-simple_src_install + + use examples && java-pkg_doexamples src/SampleAppl{et,ication}.java +} diff --git a/dev-java/jortho/metadata.xml b/dev-java/jortho/metadata.xml new file mode 100644 index 000000000000..0149fc6a4907 --- /dev/null +++ b/dev-java/jortho/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> + <upstream> + <remote-id type="sourceforge">jortho</remote-id> + </upstream> +</pkgmetadata> |