core/libtasn1/PKGBUILD

34 lines
773 B
Bash
Raw Normal View History

# Maintainer: abveritas[at]chakra-project[dot]org>
2010-04-05 19:44:27 +08:00
pkgname=libtasn1
2015-01-05 22:32:39 +08:00
pkgver=4.2
pkgrel=1
2010-04-05 19:44:27 +08:00
pkgdesc="The ASN.1 library used in GNUTLS"
arch=('x86_64')
2010-04-05 19:44:27 +08:00
license=('GPL3' 'LGPL')
url="http://www.gnu.org/software/libtasn1/"
depends=('glibc' 'texinfo')
install=libtasn1.install
source=("ftp://ftp.gnu.org/gnu/libtasn1/${pkgname}-${pkgver}.tar.gz")
2015-01-05 22:32:39 +08:00
md5sums=('414df906df421dee0a5cf7548788d153')
2010-04-05 19:44:27 +08:00
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
2010-04-05 19:44:27 +08:00
./configure --prefix=/usr \
--with-packager=Chakra \
2015-01-05 22:32:39 +08:00
--with-packager-bug-reports="http://chakraos.org/bugs/" \
--with-packager-version=${pkgver}-${pkgrel}
make
}
check() {
cd "${srcdir}/${pkgname}-${pkgver}"
make check
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
2010-04-05 19:44:27 +08:00
}