Received: from mx.hexasoft.my (mx.hexasoft.my [198.58.111.63]) by gbr-app-1.alpinelinux.org (Postfix) with ESMTPS id 7E8682223E4 for ; Thu, 9 Feb 2023 06:19:07 +0000 (UTC) Received: from webmail.hexasoft.my (localhost [127.0.0.1]) by mx.hexasoft.my (Postfix) with ESMTPSA id 931023DCE4 for ; Thu, 9 Feb 2023 14:19:05 +0800 (+08) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ip2location.com; s=default; t=1675923545; bh=hBcUVVsUZpd0sVB1ZTBsIg9diPoHc8+JpNDlLyqXwis=; h=Date:From:Subject:To:From; b=nLHJq14yewnEFcCuwW8kcvkdHt6eXjwmmC5EN3e3WXqMKlpCrtN16TG/sXjpeBLDk +kx3zpaeCNifReLx6Ysn+dCWI3XI/zh6kRIrbWFFupyxsA06ifF8JC0F+tAe1B8JQX 0ILHZ01zqSEhPEkCMbhvKw+PS12T8M4W09HdjzYY= MIME-Version: 1.0 Date: Thu, 09 Feb 2023 06:19:03 +0000 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Mailer: RainLoop/1.16.0 From: sales@ip2location.com Message-ID: <8b350397eb54f51de5d8cfa5fbf2e0b4@ip2location.com> Subject: [PATCH] testing/ip2location: new aport To: alpine-aports@lists.alpinelinux.org https://www.ip2location.com Lookup country, region and city information by IP addresses --- testing/ip2location/APKBUILD | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 testing/ip2location/APKBUILD diff --git a/testing/ip2location/APKBUILD b/testing/ip2location/APKBUILD new file mode 100644 index 00000000000..971c2bb29b0 --- /dev/null +++ b/testing/ip2location/APKBUILD @@ -0,0 +1,33 @@ +# Maintainer: IP2Location +pkgname=3Dip2location +pkgver=3D8.5.1 +pkgrel=3D0 +pkgdesc=3D"Lookup country, region and city information by IP addresses" +url=3D"https://www.ip2location.com/development-libraries/ip2location/c" +arch=3D"all" +license=3D"MIT" +subpackages=3D"$pkgname-dev $pkgname-doc" +checkdepends=3D"perl" +makedepends=3D"build-base automake autoconf libtool zlib-dev" +source=3D"https://github.com/chrislim2888/IP2Location-C-Library/archive/= refs/tags/$pkgver.zip" +builddir=3D"$srcdir"/IP2Location-C-Library-$pkgver + +build() { + autoreconf -i -v --force + ./configure --prefix=3D/usr + make +} + +package() { + make install DESTDIR=3D"$pkgdir" +} + +check() { + cd data + ./ip-country.pl + make check +} + +sha512sums=3D" +f6bebed88957eb17a5d2eb781808aa755f10ebbffe2cbd21d6c4fe7ece8dedd18ba784fb= 95ed05f92626c5931a4e5e66cc8a7440389331e3e34eb00c3a523445 8.5.1.zip +" --=20 2.38.2