diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-java/geoip-java | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-java/geoip-java')
-rw-r--r-- | dev-java/geoip-java/Manifest | 3 | ||||
-rw-r--r-- | dev-java/geoip-java/geoip-java-1.3.0.ebuild | 43 | ||||
-rw-r--r-- | dev-java/geoip-java/metadata.xml | 15 |
3 files changed, 61 insertions, 0 deletions
diff --git a/dev-java/geoip-java/Manifest b/dev-java/geoip-java/Manifest new file mode 100644 index 000000000000..29f50e2eb408 --- /dev/null +++ b/dev-java/geoip-java/Manifest @@ -0,0 +1,3 @@ +DIST geoip-java-1.3.0.zip 138673 BLAKE2B f61c42bad846684a4bfb9952d5b573f1d65aff5b0e7cd2ce0b53c946aecc567cab34d7f171f16b6d531cdc5a6b059747dbd02368d534f31b4894d28433b14938 SHA512 3925a94072a97dac732f4a77f4f141e1484c630b2122b4322cb487c209adbbb30936b782579943c1c766b43ef4ad0db3e264c738ad777656706272ca53ccf85b +EBUILD geoip-java-1.3.0.ebuild 907 BLAKE2B daf8aaed11cdfa87e603545042c700992286e076e79a7e24b0bbfc1286148f6a66444b9e2e99fafe4aa7d1e6e2bb43cb8aea818c91977cc242dc2edaed16ada4 SHA512 b5581ae1866abc9291f2d26513d41dc15e25481e10c940cf9c79c2a86350bad84dda8c1ede422151af013efe0e974b7e64ff135d5ca5dda5164a67ab90e64147 +MISC metadata.xml 435 BLAKE2B 09488d30596ca7c042f5abfae1fdd4318c4b24b4b65ed16fa33af326c00e514005bcdb8521d7fdd39eb1fa054ace364d23bb50a41dfc8998b59d7bdf75f783eb SHA512 2a178cea68a188ef9557208bd62b049865f060b1a99be03946859eeee07119aed5fcf421b7b192ce2174315dd70e3ef4326dffcf2bd2a6801f5fc7f9acf6ff6e diff --git a/dev-java/geoip-java/geoip-java-1.3.0.ebuild b/dev-java/geoip-java/geoip-java-1.3.0.ebuild new file mode 100644 index 000000000000..c127dfa89716 --- /dev/null +++ b/dev-java/geoip-java/geoip-java-1.3.0.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +JAVA_PKG_IUSE="source doc examples" + +inherit java-pkg-2 java-pkg-simple + +MY_PN="geoip-api-java" + +DESCRIPTION="Java library for lookup countries by IP addresses" +HOMEPAGE="https://github.com/maxmind" +SRC_URI="https://github.com/maxmind/${MY_PN}/archive/v${PV}.zip -> ${P}.zip" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="" + +RDEPEND=">=virtual/jre-1.6" +DEPEND=">=virtual/jdk-1.6" + +S="${WORKDIR}/${MY_PN}-${PV}" + +JAVA_SRC_DIR="src" + +java_prepare() { + rm -rv src/test || die +} + +src_install() { + java-pkg-simple_src_install + + dodoc README.md Changes.md + + use examples && java-pkg_doexamples examples/* +} + +pkg_postinst() { + einfo "Country and City data files can be downloaded here:" + einfo " http://www.maxmind.com/app/geolitecountry" + einfo " http://www.maxmind.com/app/geolitecity" +} diff --git a/dev-java/geoip-java/metadata.xml b/dev-java/geoip-java/metadata.xml new file mode 100644 index 000000000000..16b146cb66aa --- /dev/null +++ b/dev-java/geoip-java/metadata.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <upstream> + <remote-id type="github">maxmind/geoip-api-java</remote-id> + </upstream> + <maintainer type="person"> + <email>monsieurp@gentoo.org</email> + <name>Patrice Clement</name> + </maintainer> + <maintainer type="project"> + <email>java@gentoo.org</email> + <name>Java</name> + </maintainer> +</pkgmetadata> |