commit:     930614c9561d4f6bb26392e237c898c758625215
Author:     Okamura Kazuya <gentoo-guru <AT> danceylove <DOT> net>
AuthorDate: Sat Apr 27 16:36:20 2024 +0000
Commit:     Okamura Kazuya <trakrailysurely <AT> danceylove <DOT> net>
CommitDate: Sat Apr 27 16:36:20 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=930614c9

dev-libs/ip2loc: bump 8.6.1

Signed-off-by: Okamura Kazuya <gentoo-guru <AT> danceylove.net>

 dev-libs/ip2loc/Manifest            |  1 +
 dev-libs/ip2loc/ip2loc-8.6.1.ebuild | 35 +++++++++++++++++++++++++++++++++++
 2 files changed, 36 insertions(+)

diff --git a/dev-libs/ip2loc/Manifest b/dev-libs/ip2loc/Manifest
index 18820d3eaa..90a90fe107 100644
--- a/dev-libs/ip2loc/Manifest
+++ b/dev-libs/ip2loc/Manifest
@@ -1 +1,2 @@
 DIST ip2loc-8.1.4.gh.tar.gz 3698367 BLAKE2B 
6f02870a99b7e7ef7b48e86c055391e674af8f7dde5b28ed3d7c4b5cc3a89df644f1e55a1f59b86ce215f02a8b98552f66755413f6b4a5ad737990bec5d7e61d
 SHA512 
c801e03b78771e2da402cb7c9e96c1bed984f5fea4e4b440a5a25602540a7a82cc2a166046d0a4b361c981615b779a1268b90d3db5fae3a70c3237377424f291
+DIST ip2loc-8.6.1.gh.tar.gz 3564380 BLAKE2B 
2b52af8b8539223f3c0ed3374df993cee2c9bfcdbf7954c4236191fa295a0d8826a18804bfcd1e03fc40fb30376bf2e438519b270285dee3f2221ff0eaefc851
 SHA512 
1c3c8198c7eadbcc8b3f274f46cd9fb56115c5ec3713bd6cf96743f9de4bd3029f2f90ed07c86c47626bbd6de2adb6d0ddf9a656f3fc5ddfc07ea9f1d43b2d06

diff --git a/dev-libs/ip2loc/ip2loc-8.6.1.ebuild 
b/dev-libs/ip2loc/ip2loc-8.6.1.ebuild
new file mode 100644
index 0000000000..4224101175
--- /dev/null
+++ b/dev-libs/ip2loc/ip2loc-8.6.1.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools
+
+DESCRIPTION="IP2Location C Library"
+HOMEPAGE="https://github.com/chrislim2888/IP2Location-C-Library/";
+SRC_URI="https://github.com/chrislim2888/IP2Location-C-Library/archive/${PV}.tar.gz
 -> ${P}.gh.tar.gz"
+
+S="${WORKDIR}/IP2Location-C-Library-${PV}"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+BDEPEND="dev-lang/perl"
+
+src_configure() {
+       eautoreconf
+       default
+}
+
+src_compile() {
+       default
+       pushd data > /dev/null || die
+       perl ip-country.pl || die "Failed to generate database!"
+       popd || die
+}
+
+src_install() {
+       default
+       find "${ED}" -type f -name '*.la' -delete || die
+}

Reply via email to