void-packages/srcpkgs/libtasn1/template
2014-06-10 21:53:22 +02:00

33 lines
819 B
Text

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