new blfs: dev-libs/libtasn1
This commit is contained in:
29
dev-libs/libtasn1-4.20.0.PKGBUILD
Normal file
29
dev-libs/libtasn1-4.20.0.PKGBUILD
Normal file
@@ -0,0 +1,29 @@
|
||||
pkgname=libtasn1
|
||||
pkgver=4.20.0
|
||||
pkgdesc="The ASN.1 library used in GNUTLS"
|
||||
arch=('x86_64')
|
||||
license=('GPL-3.0-or-later' 'LGPL-2.1-or-later' 'GFDL-1.3-or-later')
|
||||
homepage="https://www.gnu.org/software/libtasn1/"
|
||||
sources=("${pkgname}-${pkgver}.tar.gz")
|
||||
urls=("https://ftp.gnu.org/gnu/${pkgname}/${sources[0]}")
|
||||
md5sums=("930f71d788cf37505a0327c1b84741be")
|
||||
|
||||
src_prepare() {
|
||||
tar -xf ${distdir}/${sources[0]} --strip-components=1
|
||||
}
|
||||
|
||||
src_build() {
|
||||
./configure --prefix=/usr --disable-static &&
|
||||
make
|
||||
}
|
||||
|
||||
src_check() {
|
||||
make check
|
||||
}
|
||||
|
||||
src_install() {
|
||||
make DESTDIR="${pkgdir}" install
|
||||
make DESTDIR="${pkgdir}" -C doc/reference install-data-local
|
||||
install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
|
||||
install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
|
||||
}
|
||||
Reference in New Issue
Block a user