2014-08-25 09:50:01 +02:00
|
|
|
# Template file for 'libsodium'
|
|
|
|
pkgname=libsodium
|
2015-01-16 11:36:43 +01:00
|
|
|
version=1.0.2
|
2014-08-25 09:50:01 +02:00
|
|
|
revision=1
|
|
|
|
build_style=gnu-configure
|
2014-08-25 10:01:12 +02:00
|
|
|
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"
|
2015-04-10 09:16:30 +02:00
|
|
|
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-01-16 11:36:43 +01:00
|
|
|
checksum=961d8f10047f545ae658bcc73b8ab0bf2c312ac945968dd579d87c768e5baa19
|
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
|
|
|
|
}
|
|
|
|
}
|