PKGBUILDs/extra/libtasn1/PKGBUILD
2009-09-26 09:35:50 -05:00

26 lines
724 B
Bash

# $Id: PKGBUILD 41781 2009-06-07 10:01:27Z jgc $
# Maintainer: Jan de Groot <jgc@archlinux.org>
# Contributor: judd <jvinet@zeroflux.org>
pkgname=libtasn1
pkgver=2.2
pkgrel=1
pkgdesc="The ASN.1 library used in GNUTLS"
arch=(arm)
license=('GPL3' 'LGPL')
url="http://www.gnu.org/software/gnutls/"
depends=('glibc' 'texinfo')
options=('!libtool')
install=libtasn1.install
source=(ftp://ftp.gnu.org/gnu/gnutls/${pkgname}-${pkgver}.tar.gz)
md5sums=('14cc361500d2e768a8a6ec538ce3fecb')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/usr || return 1
make || return 1
make DESTDIR="${pkgdir}" install || return 1
rm -f "${pkgdir}/usr/share/info/dir"
gzip ${pkgdir}/usr/share/info/* || return 1
}