void-packages/srcpkgs/libsodium/template
2014-11-21 20:01:42 +01:00

23 lines
716 B
Text

# Template file for 'libsodium'
pkgname=libsodium
version=1.0.1
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@gmail.com>"
license="ISC"
homepage="https://github.com/jedisct1/libsodium"
distfiles="https://github.com/jedisct1/libsodium/releases/download/${version}/${pkgname}-${version}.tar.gz"
checksum=c3090887a4ef9e2d63af1c1e77f5d5a0656fadb5105ebb9fb66a302210cb3af5
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
}
}