void-packages/srcpkgs/libsodium/template
2017-03-13 10:17:57 +00:00

27 lines
758 B
Bash

# Template file for 'libsodium'
pkgname=libsodium
version=1.0.12
revision=1
build_style=gnu-configure
configure_args="lt_cv_prog_compiler_static_works=yes"
short_desc="A modern and easy-to-use crypto library"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="ISC"
homepage="https://github.com/jedisct1/libsodium"
distfiles="https://github.com/jedisct1/libsodium/releases/download/${version}/${pkgname}-${version}.tar.gz"
checksum=b8648f1bb3a54b0251cf4ffa4f0d76ded13977d4fa7517d988f4c902dd8e2f95
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
}
}