void-packages/srcpkgs/libsodium/template
Juan RP e9115968d8 libsodium: update to 1.0.18.
Signed-off-by: Juan RP <xtraeme@gmail.com>
2019-06-04 19:55:28 +02:00

27 lines
724 B
Bash

# Template file for 'libsodium'
pkgname=libsodium
version=1.0.18
revision=1
build_style=gnu-configure
configure_args="lt_cv_prog_compiler_static_works=yes"
short_desc="Modern and easy-to-use crypto library"
maintainer="Juan RP <xtraeme@voidlinux.org>"
license="ISC"
homepage="https://libsodium.org/"
distfiles="https://download.libsodium.org/libsodium/releases/libsodium-${version}.tar.gz"
checksum=6f504490b342a4f8a4c4a02fc9b866cbef8622d5df4e5452b46be121e46636c1
post_install() {
vlicense LICENSE
}
libsodium-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/*.a
vmove usr/lib/*.so
vmove usr/lib/pkgconfig
}
}