26 lines
713 B
Bash
26 lines
713 B
Bash
# Template file for 'libscrypt'
|
|
pkgname=libscrypt
|
|
version=1.22
|
|
revision=2
|
|
build_style=gnu-makefile
|
|
short_desc="Library that implements scrypt() functionality"
|
|
maintainer="Leah Neukirchen <leah@vuxu.org>"
|
|
license="BSD-2-Clause"
|
|
homepage="https://github.com/technion/libscrypt"
|
|
distfiles="https://github.com/technion/${pkgname}/archive/v${version}.tar.gz"
|
|
checksum=a2d30ea16e6d288772791de68be56153965fe4fd4bcd787777618b8048708936
|
|
|
|
post_patch() {
|
|
vsed -i -e 's/LDFLAGS.=/override LDFLAGS+=/' Makefile
|
|
}
|
|
post_install() {
|
|
vlicense LICENSE
|
|
}
|
|
libscrypt-devel_package() {
|
|
short_desc+=" - development files"
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/*.so
|
|
}
|
|
}
|