APKBUILD 844 Bytes
Newer Older
root's avatar
root committed
1
# Contributor: Michael Mason <ms13sp@gmail.com>
Natanael Copa's avatar
Natanael Copa committed
2
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
root's avatar
root committed
3
pkgname=gnutls
Natanael Copa's avatar
Natanael Copa committed
4 5
pkgver=2.10.4
pkgrel=0
root's avatar
root committed
6 7
pkgdesc="A library which provides a secure connection"
url="http://www.gnu.org/software/gnutls/"
Natanael Copa's avatar
Natanael Copa committed
8
arch="x86 x86_64"
root's avatar
root committed
9
license="GPL"
Natanael Copa's avatar
Natanael Copa committed
10
depends=
11
makedepends="libgcrypt-dev libgpg-error-dev zlib-dev libtasn1-dev"
root's avatar
root committed
12 13 14 15
install=
subpackages="$pkgname-doc $pkgname-dev"
source="http://ftp.gnu.org/pub/gnu/gnutls/$pkgname-$pkgver.tar.bz2"

16
depends_dev="libgcrypt-dev libgpg-error-dev libtasn1-dev"
17

root's avatar
root committed
18 19 20 21 22 23 24 25
build() {
	cd "$srcdir/$pkgname-$pkgver"

	./configure --prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--disable-nls
Natanael Copa's avatar
Natanael Copa committed
26 27
	make
}
root's avatar
root committed
28

Natanael Copa's avatar
Natanael Copa committed
29 30 31
package() {
	cd "$srcdir/$pkgname-$pkgver"
	make -j1 DESTDIR="$pkgdir" install
root's avatar
root committed
32 33
}

Natanael Copa's avatar
Natanael Copa committed
34
md5sums="4e1517084018a8b1fdc96daabea40528  gnutls-2.10.4.tar.bz2"