void-packages/srcpkgs/libb2/template

27 lines
675 B
Bash
Raw Normal View History

2021-05-24 11:09:43 +00:00
# Template file for 'libb2'
pkgname=libb2
version=0.98.1
revision=1
build_style=gnu-configure
hostmakedepends="automake libtool pkg-config"
short_desc="BLAKE2 cryptographic hash function"
maintainer="Pierre Bourgin <pierre.bourgin@free.fr>"
license="CC0-1.0"
homepage="https://www.blake2.net/"
distfiles="https://github.com/BLAKE2/libb2/archive/v${version}.tar.gz"
checksum=10053dbc2fa342516b780a6bbf6e7b2a2360b8d49c5ac426936bf3df82526732
pre_configure() {
autoreconf -fi
}
libb2-devel_package() {
depends="${sourcepkg}-${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}