mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-11 16:24:36 +08:00
32 lines
721 B
Bash
32 lines
721 B
Bash
pkgname=libtasn1
|
|
pkgver=4.8
|
|
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')
|
|
install=libtasn1.install
|
|
source=("ftp://ftp.gnu.org/gnu/libtasn1/${pkgname}-${pkgver}.tar.gz")
|
|
md5sums=('9a6767705725544f2b86670dcfb34107')
|
|
|
|
build() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
|
|
./configure --prefix=/usr \
|
|
--with-packager=Chakra \
|
|
--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
|
|
}
|