void-packages/srcpkgs/libtasn1/template
Nathan Owens 56ba82f31b libtasn1: update to 4.15.0
Signed-off-by: Nathan Owens <ndowens04@gmail.com>
2019-12-12 13:59:04 +01:00

32 lines
819 B
Bash

# Template file for 'libtasn1'
pkgname=libtasn1
version=4.15.0
revision=1
build_style=gnu-configure
hostmakedepends="perl"
short_desc="ASN.1 structure parser library"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-3.0-only, LGPL-2.1-only"
homepage="https://www.gnu.org/software/libtasn1/"
distfiles="${GNU_SITE}/$pkgname/$pkgname-$version.tar.gz"
checksum=dd77509fe8f5304deafbca654dc7f0ea57f5841f41ba530cff9a5bf71382739e
libtasn1-devel_package() {
depends="${sourcepkg}-${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
vmove usr/share/man/man3
vmove usr/share/info
}
}
libtasn1-tools_package() {
short_desc+=" - ASN.1 tools"
pkg_install() {
vmove usr/bin
vmove usr/share
}
}