void-packages/srcpkgs/libtasn1/template
2016-07-28 07:59:22 +02:00

32 lines
809 B
Bash

# Template build file for 'libtasn1'.
pkgname=libtasn1
version=4.9
revision=1
build_style=gnu-configure
hostmakedepends="perl"
short_desc="ASN.1 structure parser library"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://www.gnu.org/software/libtasn1/"
license="GPL-3, LGPL-2.1"
distfiles="${GNU_SITE}/$pkgname/$pkgname-$version.tar.gz"
checksum=4f6f7a8fd691ac2b8307c8ca365bad711db607d4ad5966f6938a9d2ecd65c920
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
}
}