mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-11 10:14:36 +08:00
36 lines
754 B
Bash
36 lines
754 B
Bash
# Maintainer: abveritas[at]chakra-project[dot]org>
|
|
|
|
pkgname=libtasn1
|
|
pkgver=3.2
|
|
pkgrel=1
|
|
pkgdesc="The ASN.1 library used in GNUTLS"
|
|
arch=('x86_64')
|
|
license=('GPL3' 'LGPL')
|
|
url="http://www.gnu.org/software/libtasn1/"
|
|
depends=('glibc' 'texinfo')
|
|
options=('!libtool')
|
|
install=libtasn1.install
|
|
source=("ftp://ftp.gnu.org/gnu/libtasn1/${pkgname}-${pkgver}.tar.gz")
|
|
md5sums=('1b07629163025b9693aae9b8957842b2')
|
|
|
|
build() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
|
|
./configure --prefix=/usr \
|
|
--with-packager=Chakra \
|
|
--with-packager-bug-reports="http://chakra-project.org/bugs/"
|
|
make
|
|
}
|
|
|
|
check() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
|
|
make check
|
|
}
|
|
|
|
package() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
|
|
make DESTDIR="${pkgdir}" install
|
|
}
|