void-packages/srcpkgs/nettle/template

42 lines
1.1 KiB
Text
Raw Normal View History

2012-12-03 11:28:37 +00:00
# Template build file for 'nettle'.
pkgname=nettle
version=2.5
revision=2
2012-12-03 11:28:37 +00:00
build_style=gnu-configure
2013-04-19 12:47:29 +00:00
makedepends="gmp-devel"
configure_args="--enable-shared"
2012-12-03 11:28:37 +00:00
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="ftp://ftp.lysator.liu.se/pub/security/lsh/nettle-${version}.tar.gz"
checksum=4aa142e908b0053082d7729fc0155dc90dbe71c8ef5f50f30034805ed5c92c72
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="${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="${short_desc} (bundled tools)"
pkg_install() {
vmove usr/bin
}
}
nettle_package() {
pkg_install() {
2013-04-19 12:47:29 +00:00
vmove all
}
2012-12-03 11:28:37 +00:00
}