void-packages/srcpkgs/nettle/template

42 lines
1.0 KiB
Plaintext

# Template build file for 'nettle'.
pkgname=nettle
version=2.7.1
revision=1
build_style=gnu-configure
makedepends="gmp-devel"
configure_args="--enable-shared"
short_desc="A low-level cryptographic library"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.lysator.liu.se/~nisse/nettle/"
license="GPL-2"
distfiles="http://ftp.gnu.org/gnu/nettle/nettle-${version}.tar.gz"
checksum=bc71ebd43435537d767799e414fce88e521b7278d48c860651216e1fc6555b40
long_desc="
Nettle is a cryptographic library that is designed to fit easily in more or
less any context: In crypto toolkits for object-oriented languages (C++,
Python, Pike, ...), in applications like LSH or GNUPG, or even in kernel space."
nettle-devel_package() {
depends="gmp-devel ${sourcepkg}>=${version}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
vmove usr/lib/pkgconfig
vmove usr/share/info
}
}
nettle-tools_package() {
short_desc+=" - bundled tools"
pkg_install() {
vmove usr/bin
}
}
nettle_package() {
pkg_install() {
vmove all
}
}