28 lines
759 B
Bash
28 lines
759 B
Bash
# Template file for 'libsodium'
|
|
pkgname=libsodium
|
|
version=1.0.17
|
|
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.org>"
|
|
license="ISC"
|
|
homepage="https://github.com/jedisct1/libsodium"
|
|
distfiles="https://github.com/jedisct1/libsodium/releases/download/${version}/${pkgname}-${version}.tar.gz"
|
|
checksum=0cc3dae33e642cc187b5ceb467e0ad0e1b51dcba577de1190e9ffa17766ac2b1
|
|
|
|
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
|
|
}
|
|
}
|