# Maintainer: Natanael Copa pkgname=libtasn1 pkgver=4.4 pkgrel=0 pkgdesc="The ASN.1 library used in GNUTLS" url="http://www.gnu.org/software/gnutls/" arch="all" license="GPL3 LGPL" subpackages="$pkgname-dev $pkgname-doc" depends= makedepends="texinfo" install= source="ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz" _builddir="$srcdir"/$pkgname-$pkgver build() { cd "$_builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ || return 1 make || return 1 } package() { cd "$_builddir" make DESTDIR="$pkgdir" install || return 1 rm "$pkgdir"/usr/lib/*.la || return 1 } md5sums="c26d76d1309dd339365c563076599912 libtasn1-4.4.tar.gz" sha256sums="f8349db1b4fe634105c77e11d26b2173e587827e86e1a489b5e38ffa822e0c5d libtasn1-4.4.tar.gz" sha512sums="ddd0aaa5ee4a19f509eeb24d6ddd863c11c94a976c42e834006917fe8b85204e6ea21d9af1990db215d01ae4a2f82d32236975c5f6024f156589d72c62518583 libtasn1-4.4.tar.gz"