~alpine/aports

testing/ip2proxy: new aport https://github.com/ip2location/ip2proxy-c An official IP2Proxy C library. v1 PROPOSED

IP2Location: 1
 testing/ip2proxy: new aport https://github.com/ip2location/ip2proxy-c An official IP2Proxy C library.

 1 files changed, 30 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/4171/mbox | git am -3
Learn more about email & git

[PATCH] testing/ip2proxy: new aport https://github.com/ip2location/ip2proxy-c An official IP2Proxy C library. Export this patch

---
 testing/ip2proxy/APKBUILD | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)
 create mode 100644 testing/ip2proxy/APKBUILD

diff --git a/testing/ip2proxy/APKBUILD b/testing/ip2proxy/APKBUILD
new file mode 100644
index 00000000000..1868a8575ea
--- /dev/null
+++ b/testing/ip2proxy/APKBUILD
@@ -0,0 +1,30 @@
# Maintainer: IP2Location <support@ip2location.com>
pkgname=ip2proxy
pkgver=4.2.1
pkgrel=0
pkgdesc="Detect proxy servers."
url="https://www.ip2location.com/documentation/ip2proxy-libraries/c"
arch="all"
license="MIT"
subpackages="$pkgname-dev $pkgname-doc"
makedepends="build-base automake autoconf libtool zlib-dev"
source="https://github.com/ip2location/ip2proxy-c/archive/refs/tags/$pkgver.zip"
builddir="$srcdir"/ip2proxy-c-$pkgver

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

package() {
	make install DESTDIR="$pkgdir"
}

check() {
	make check
}

sha512sums="
1965a6383c4d0427c15aa0bb446e929658e9926c51c7d1fb73cb26af12eec4f03942c39ca6e62224724a775229534bd7d5eca39d4e085e88ce51dd1b0b905f59  4.2.1.zip
"
-- 
2.38.2