APKBUILD 769 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.8.3
pkgrel=0
root's avatar
root committed
6 7 8
pkgdesc="A library which provides a secure connection"
url="http://www.gnu.org/software/gnutls/"
license="GPL"
Natanael Copa's avatar
Natanael Copa committed
9
depends=
root's avatar
root committed
10 11 12 13 14
makedepends="libgcrypt-dev libgpg-error-dev zlib-dev"
install=
subpackages="$pkgname-doc $pkgname-dev"
source="http://ftp.gnu.org/pub/gnu/gnutls/$pkgname-$pkgver.tar.bz2"

15 16
depends_dev="libgcrypt-dev libgpg-error-dev"

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

	./configure --prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--disable-nls
	make -j1 || return 1
	make -j1 DESTDIR="$pkgdir" install

}

Natanael Copa's avatar
Natanael Copa committed
30
md5sums="72b77092c5d1ae01306cd14c0f22d6e4  gnutls-2.8.3.tar.bz2"