~alpine/aports

testing/ip2location: new aport v1 PROPOSED

IP2Location Customer Success <support@ip2location.com>
IP2Location Customer Success: 1
 testing/ip2location: new aport

 1 files changed, 31 insertions(+), 0 deletions(-)
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.alpinelinux.org/~alpine/aports/patches/4151/mbox | git am -3
Learn more about email & git

[#HPH-202-17182]: [PATCH] testing/ip2location: new aport Export this patch

IP2Location Customer Success <support@ip2location.com>
https://github.com/chrislim2888/IP2Location-C-Library
Lookup country details by IP.
---
 testing/ip2location/APKBUILD | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)
 create mode 100644 testing/ip2location/APKBUILD

diff --git a/testing/ip2location/APKBUILD b/testing/ip2location/APKBUILD
new file mode 100644
index 0000000000..74079045f0
--- /dev/null
+++ b/testing/ip2location/APKBUILD
@@ -0,0 +1,31 @@
# Maintainer: IP2Location <support@ip2location.com>
pkgname=ip2location
_pkgname="IP2Location"
pkgver=8.5.1
pkgrel=1
pkgdesc="Lookup country, region and city information by IP addresses"
url="https://www.ip2location.com/development-libraries/ip2location/c"
arch="all"
license="MIT"
makedepends="build-base automake autoconf libtool zlib-dev"
subpackages="$pkgname-dev"
source="https://github.com/chrislim2888/IP2Location-C-Library/archive/refs/tags/$pkgver.zip"
builddir="$srcdir"/IP2Location-C-Library-$pkgver

build() {
	autoreconf -i -v --force
	./configure
	make
}

package() {
	make install
}

check() {
	make check
}

sha512sums="
f6bebed88957eb17a5d2eb781808aa755f10ebbffe2cbd21d6c4fe7ece8dedd18ba784fb95ed05f92626c5931a4e5e66cc8a7440389331e3e34eb00c3a523445  8.5.1.zip
"
-- 
2.38.2

Regards,

SK Kiu
IP2Location Customer Success Team
Hexasoft Development Sdn Bhd
Website: https://www.ip2location.com
Facebook: https://www.facebook.com/ip2location
Twitter: https://www.twitter.com/ip2location