void-packages/srcpkgs/nettle/template
2019-09-05 13:25:20 +02:00

34 lines
853 B
Bash

# Template file for 'nettle'
pkgname=nettle
version=3.5.1
revision=1
build_style=gnu-configure
configure_args="--enable-shared"
hostmakedepends="m4"
makedepends="gmp-devel"
short_desc="A low-level cryptographic library"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later, GPL-3.0-or-later"
homepage="http://www.lysator.liu.se/~nisse/nettle/"
distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=75cca1998761b02e16f2db56da52992aef622bf55a3b45ec538bc2eedadc9419
nettle-devel_package() {
depends="gmp-devel ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
vmove usr/lib/pkgconfig
vmove usr/share/info
}
}
nettle-tools_package() {
short_desc+=" - bundled tools"
pkg_install() {
vmove usr/bin
}
}