aboutsummaryrefslogtreecommitdiffstats
path: root/main/libidn/APKBUILD
blob: 645514073594e1b58cc996c6789be1eac7522421 (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.28
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="libiconv-dev"
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="43a6f14b16559e10a492acc65c4b0acc  libidn-1.28.tar.gz"
sha256sums="dd357a968449abc97c7e5fa088a4a384de57cb36564f9d4e0d898ecc6373abfb  libidn-1.28.tar.gz"
sha512sums="ae40fb99349867a9d8e715669f20db2fa683e6aa4d4fcdb32b097aa37ee16acb727f553eb27210f290880a2cc051c5c0f8f28349aeea71045bf76dbcf472e003  libidn-1.28.tar.gz"