aboutsummaryrefslogtreecommitdiffstats
path: root/main/libidn/APKBUILD
blob: be923a7b48be87830df870d9317651c0a6e3ce67 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# Contributor: Michael Mason <ms13sp@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libidn
pkgver=1.32
pkgrel=0
pkgdesc="An encode and decode library for internationalized domain names"
url="http://www.gnu.org/software/libidn/"
arch="all"
license="GPL"
depends=
makedepends=
install=
subpackages="$pkgname-doc $pkgname-dev"
source="http://ftp.gnu.org/gnu/libidn/$pkgname-$pkgver.tar.gz"
	

build() {
	cd "$srcdir/$pkgname-$pkgver"

	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--disable-nls \
		|| return 1
	make || return 1
}

package() {
	cd "$srcdir/$pkgname-$pkgver"
	make DESTDIR="$pkgdir" install || return 1
	rm "$pkgdir"/usr/lib/*.la
}

md5sums="4dd8356ba577287ea7076bfa1554b534  libidn-1.32.tar.gz"
sha256sums="ba5d5afee2beff703a34ee094668da5c6ea5afa38784cebba8924105e185c4f5  libidn-1.32.tar.gz"
sha512sums="fd48665b65f88210ea504675fc1cd667bd4042b1df3e386847070a465d6753efcec735e6e8572f45f9432235e813c61ef7df09596274935467fdc6f12f80b9bd  libidn-1.32.tar.gz"