void-packages/srcpkgs/libscrypt/template

24 lines
632 B
Bash

# Template file for 'libscrypt'
pkgname=libscrypt
version=1.21
revision=2
build_style=gnu-makefile
short_desc="Library that implements scrypt() functionality"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="2-clause-BSD"
homepage="https://github.com/technion/"
distfiles="https://github.com/technion/${pkgname}/archive/v${version}.tar.gz"
checksum=68e377e79745c10d489b759b970e52d819dbb80dd8ca61f8c975185df3f457d3
post_install() {
vlicense LICENSE
}
libscrypt-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/*.so
}
}