aboutsummaryrefslogtreecommitdiffstats
path: root/main/gnutls
diff options
context:
space:
mode:
Diffstat (limited to 'main/gnutls')
-rw-r--r--main/gnutls/APKBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/main/gnutls/APKBUILD b/main/gnutls/APKBUILD
new file mode 100644
index 0000000000..f8dd61f2d5
--- /dev/null
+++ b/main/gnutls/APKBUILD
@@ -0,0 +1,28 @@
+# Contributor: Michael Mason <ms13sp@gmail.com>
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=gnutls
+pkgver=2.8.1
+pkgrel=0
+pkgdesc="A library which provides a secure connection"
+url="http://www.gnu.org/software/gnutls/"
+license="GPL"
+depends=
+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"
+
+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
+
+}
+
+md5sums="be209095e12cff0dd5e15c3cc08d2851 gnutls-2.8.1.tar.bz2"