void-packages/srcpkgs/libb2/template
2021-06-13 10:30:45 +02:00

26 lines
675 B
Bash

# 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"
}
}