APKBUILD 805 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
pkgver=2.10.5
5
pkgrel=2
root's avatar
root committed
6 7
pkgdesc="A library which provides a secure connection"
url="http://www.gnu.org/software/gnutls/"
8
arch="all"
root's avatar
root committed
9
license="GPL"
Natanael Copa's avatar
Natanael Copa committed
10
depends=
11 12
depends_dev="libgcrypt-dev libgpg-error-dev zlib-dev libtasn1-dev"
makedepends="$depends_dev"
root's avatar
root committed
13 14 15 16 17 18 19 20 21 22 23 24
install=
subpackages="$pkgname-doc $pkgname-dev"
source="http://ftp.gnu.org/pub/gnu/gnutls/$pkgname-$pkgver.tar.bz2"

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
25 26
	make
}
root's avatar
root committed
27

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

Natanael Copa's avatar
Natanael Copa committed
33
md5sums="1b032e07ccd22f71a5df78aa73bd91f2  gnutls-2.10.5.tar.bz2"