~alpine/aports

This thread contains a patchset. You're looking at the original emails, but you may wish to use the patch review UI. Review patch

[PATCH] testing/libpostal: new aport

Bart Ribbers <bribbers@disroot.org>
Details
Message ID
<20190907194451.21549-1-bribbers@disroot.org>
DKIM signature
missing
Download raw message
Patch: +37 -0
---
 testing/libpostal/APKBUILD | 37 +++++++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)
 create mode 100644 testing/libpostal/APKBUILD

diff --git a/testing/libpostal/APKBUILD b/testing/libpostal/APKBUILD
new file mode 100644
index 0000000000..ff104dd2c3
--- /dev/null
+++ b/testing/libpostal/APKBUILD
@@ -0,0 +1,37 @@
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=libpostal
pkgver=1.0.0
pkgrel=0
pkgdesc="A C library for parsing/normalizing street addresses around the world"
url="https://github.com/openvenues/libpostal"
arch="all"
license="MIT"
makedepends="autoconf automake libtool"
subpackages="$pkgname-static $pkgname-dev"
source="$pkgname-$pkgver.tar.gz::https://github.com/openvenues/libpostal/archive/v$pkgver.tar.gz"
options="!check" # Requires 100GB of data

prepare() {
	default_prepare

	./bootstrap.sh
}

build() {
	./configure \
		--prefix=/usr \
		--datadir=/usr/local/share \
		--disable-data-download
	make
}

check() {
	make check
}

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

sha512sums="90937c250cd2abc9af4924ca1636ae3b719f70be563e41762852f3140abcee04ed0804131cccc095b79ffb00837507ae0b91774abf4b4f854212a541dd1721a8  libpostal-1.0.0.tar.gz"
-- 
2.23.0
Reply to thread Export thread (mbox)