void-packages/srcpkgs/libsodium/template

24 lines
716 B
Text
Raw Normal View History

2014-08-25 07:50:01 +00:00
# Template file for 'libsodium'
pkgname=libsodium
version=0.7.0
revision=1
build_style=gnu-configure
configure_args="lt_cv_prog_compiler_static_works=yes"
2014-08-25 07:50:01 +00:00
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=4ccaffd1a15be67786e28a61b602492a97eb5bcb83455ed53c02fa038b8e9168
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
}
}