From a5083dfca971c696dcb9f3d6d43ac24e446a05bf Mon Sep 17 00:00:00 2001 From: Dan Theisen Date: Fri, 6 Jul 2018 00:43:24 -0700 Subject: user/libidn2: new package, import for user/iputils --- user/libidn2/APKBUILD | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 user/libidn2/APKBUILD (limited to 'user/libidn2') diff --git a/user/libidn2/APKBUILD b/user/libidn2/APKBUILD new file mode 100644 index 000000000..4af7cfea9 --- /dev/null +++ b/user/libidn2/APKBUILD @@ -0,0 +1,39 @@ +# Contributor: Dan Theisen +# Maintainer: Dan Theisen +pkgname=libidn2 +pkgver=2.0.5 +pkgrel=0 +pkgdesc="A free implementation of IDNA2008, Punycode, and TR46" +url="https://gitlab.com/libidn/libidn2" +arch="all" +license="GPL-2.0-or-later OR LGPL-3.0-or-later" +depends="" +depends_dev="" +makedepends="$depends_dev libunistring-dev" +install="" +subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" +source="https://ftp.gnu.org/gnu/libidn/libidn2-$pkgver.tar.gz" + +build() { + cd "$builddir" + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --localstatedir=/var + make +} + +check() { + cd "$builddir" + make check +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} + +sha512sums="9d040d60de40316788825d8720d509d5b8a82287415e09e17792c2f32fad99ca77f43e55888b9484db69426eaa0ece59e9671eee9cc46411afbdb0f81af31a79 libidn2-2.0.5.tar.gz" -- cgit v1.2.3-70-g09d2