#Packager: George Vlahavas <vlahavas~at~gmail~dot~com>

pkgname=libtasn1
pkgver=3.2
pkgrel=1dj
source=("http://ftp.gnu.org/gnu/libtasn1/${pkgname}-${pkgver}.tar.gz")
docs=("README" "INSTALL" "COPYING" "ChangeLog" "AUTHORS" "NEWS" "COPYING.LIB" "THANKS")
url="http://www.gnu.org/software/libtasn1/"

slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"libtasn1 (ASN.1 library)"
"Libtasn1 is the ASN.1 library used by GnuTLS, GNU Shishi, and some"
"other packages.  The goal of this implementation is to be highly"
"portable and only require an ANSI C89 platform. It was written by"
"Fabio Fiorina and has been shipped as part of GnuTLS."
)


build() {
	cd $SRC/$pkgname-$pkgver
	./configure --prefix=/usr \
		--libdir=/usr/lib${LIBDIRSUFFIX} \
		--localstatedir=/var \
		--sysconfdir=/etc \
		--build=$arch-slackware-linux
		
	make -j $numjobs || return 1
	make install DESTDIR=$PKG
} 
