void-packages/srcpkgs/libsodium/template

24 lines
719 B
Bash
Raw Normal View History

2014-08-25 09:50:01 +02:00
# Template file for 'libsodium'
pkgname=libsodium
2015-05-09 18:49:25 +02:00
version=1.0.3
2014-08-25 09:50:01 +02:00
revision=1
build_style=gnu-configure
configure_args="lt_cv_prog_compiler_static_works=yes"
2014-08-25 09:50:01 +02:00
short_desc="A modern and easy-to-use crypto library"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
2014-08-25 09:50:01 +02:00
license="ISC"
homepage="https://github.com/jedisct1/libsodium"
distfiles="https://github.com/jedisct1/libsodium/releases/download/${version}/${pkgname}-${version}.tar.gz"
2015-05-09 18:49:25 +02:00
checksum=cbcfc63cc90c05d18a20f229a62c7e7054a73731d0aa858c0517152c549b1288
2014-08-25 09:50:01 +02:00
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
}
}