blob: 8895da58637b865896a2ef5f1118203b4fc64ea9 (
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.29
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="2b67bb507207af379f9461e1307dc84b libidn-1.29.tar.gz"
sha256sums="fb82747dbbf9b36f703ed27293317d818d7e851d4f5773dedf3efa4db32a7c7c libidn-1.29.tar.gz"
sha512sums="4e316d3e2d39d052227f3cc915341692815ab59a1fb56a25dff564329cadfd9e7738f07697bbc7f5f2577827cdbfd9af2cb89487c74ead97a77a186d37a97e30 libidn-1.29.tar.gz"
|