From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 23D4815811D for ; Tue, 27 Jun 2023 15:29:14 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AD1BBE085A; Tue, 27 Jun 2023 15:29:12 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 8E3B9E085A for ; Tue, 27 Jun 2023 15:29:12 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 6A1F03405BB for ; Tue, 27 Jun 2023 15:29:11 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C8D257C6 for ; Tue, 27 Jun 2023 15:29:09 +0000 (UTC) From: "Okamura Kazuya" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Okamura Kazuya" Message-ID: <1687879651.3f952f16ddd1ccb1ba4ba66ed919abe020b6952e.trakrailysurely@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-libs/ip2loc/ X-VCS-Repository: repo/proj/guru X-VCS-Files: dev-libs/ip2loc/Manifest dev-libs/ip2loc/ip2loc-8.1.4.ebuild dev-libs/ip2loc/metadata.xml X-VCS-Directories: dev-libs/ip2loc/ X-VCS-Committer: trakrailysurely X-VCS-Committer-Name: Okamura Kazuya X-VCS-Revision: 3f952f16ddd1ccb1ba4ba66ed919abe020b6952e X-VCS-Branch: dev Date: Tue, 27 Jun 2023 15:29:09 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: d210f6e8-cf8c-4393-b9ed-802922fc9209 X-Archives-Hash: bcdab0954381d5d0b65dd80ecdb6a8ec commit: 3f952f16ddd1ccb1ba4ba66ed919abe020b6952e Author: Okamura Kazuya danceylove net> AuthorDate: Tue Jun 27 15:27:31 2023 +0000 Commit: Okamura Kazuya danceylove net> CommitDate: Tue Jun 27 15:27:31 2023 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=3f952f16 dev-libs/ip2loc: new package, add 8.1.4 Signed-off-by: Okamura Kazuya danceylove.net> dev-libs/ip2loc/Manifest | 1 + dev-libs/ip2loc/ip2loc-8.1.4.ebuild | 46 +++++++++++++++++++++++++++++++++++++ dev-libs/ip2loc/metadata.xml | 11 +++++++++ 3 files changed, 58 insertions(+) diff --git a/dev-libs/ip2loc/Manifest b/dev-libs/ip2loc/Manifest new file mode 100644 index 000000000..8ca4ef44d --- /dev/null +++ b/dev-libs/ip2loc/Manifest @@ -0,0 +1 @@ +DIST ip2loc-8.1.4.tar.gz 3698367 BLAKE2B 6f02870a99b7e7ef7b48e86c055391e674af8f7dde5b28ed3d7c4b5cc3a89df644f1e55a1f59b86ce215f02a8b98552f66755413f6b4a5ad737990bec5d7e61d SHA512 c801e03b78771e2da402cb7c9e96c1bed984f5fea4e4b440a5a25602540a7a82cc2a166046d0a4b361c981615b779a1268b90d3db5fae3a70c3237377424f291 diff --git a/dev-libs/ip2loc/ip2loc-8.1.4.ebuild b/dev-libs/ip2loc/ip2loc-8.1.4.ebuild new file mode 100644 index 000000000..10d30948e --- /dev/null +++ b/dev-libs/ip2loc/ip2loc-8.1.4.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake 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}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="static-libs" + +src_unpack() { + unpack ${A} + mv IP2Location-C-Library-${PV} ip2loc-${PV} +} + +src_prepare() { + eautoreconf + + eapply_user +} + +src_configure() { + ./configure --prefix=${T}/usr +} + +src_compile() { + make +} + +src_install() { + make install +} + +pkg_preinst() { + mkdir -p ${D}/usr/lib/ + mkdir -p ${D}/usr/include/ + cp -a ${T}/usr/include/IP2Location.h ${D}/usr/include/ + cp -a ${T}/usr/lib/libIP2Location* ${D}/usr/lib/ + return +} diff --git a/dev-libs/ip2loc/metadata.xml b/dev-libs/ip2loc/metadata.xml new file mode 100644 index 000000000..02ea0b5aa --- /dev/null +++ b/dev-libs/ip2loc/metadata.xml @@ -0,0 +1,11 @@ + + + + + gentoo-guru@danceylove.net + Okamura Kazuya + + + chrislim2888/IP2Location-C-Library + +