2014-08-25 09:50:01 +02:00
|
|
|
# Template file for 'libsodium'
|
|
|
|
pkgname=libsodium
|
2014-09-24 20:14:31 +02:00
|
|
|
version=1.0.0
|
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"
|
|
|
|
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"
|
2014-09-24 20:14:31 +02:00
|
|
|
checksum=ced1fe3d2066953fea94f307a92f8ae41bf0643739a44309cbe43aa881dbc9a5
|
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
|
|
|
|
}
|
|
|
|
}
|