-
Notifications
You must be signed in to change notification settings - Fork 2.1k
/
template
33 lines (32 loc) · 884 Bytes
/
template
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Template file for 'libtasn1'
pkgname=libtasn1
version=4.19.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/"
changelog="https://gitlab.com/gnutls/libtasn1/-/raw/master/NEWS"
distfiles="${GNU_SITE}/$pkgname/$pkgname-$version.tar.gz"
checksum=1613f0ac1cf484d6ec0ce3b8c06d56263cc7242f1c23b30d82d23de345a63f7a
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
}
}