2012-12-03 12:28:37 +01:00
|
|
|
# Template build file for 'nettle'.
|
|
|
|
pkgname=nettle
|
2013-04-28 07:23:00 +02:00
|
|
|
version=2.7
|
|
|
|
revision=1
|
2012-12-03 12:28:37 +01:00
|
|
|
build_style=gnu-configure
|
2013-04-19 14:47:29 +02:00
|
|
|
makedepends="gmp-devel"
|
2013-04-13 13:29:34 +02:00
|
|
|
configure_args="--enable-shared"
|
2012-12-03 12:28:37 +01: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"
|
2013-04-28 07:23:00 +02:00
|
|
|
distfiles="http://ftp.gnu.org/gnu/nettle/nettle-${version}.tar.gz"
|
|
|
|
checksum=c294ea133c05382cc2effb1734d49f4abeb1ad8515543a333de49a11422cd4d6
|
2012-12-03 12:28:37 +01:00
|
|
|
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."
|
|
|
|
|
2013-04-13 13:29:34 +02:00
|
|
|
nettle-devel_package() {
|
|
|
|
depends="gmp-devel ${sourcepkg}>=${version}"
|
2013-04-28 07:23:00 +02:00
|
|
|
short_desc+=" -- development files"
|
2013-04-13 13:29:34 +02:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove "usr/lib/*.a"
|
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
vmove usr/share/info
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
nettle-tools_package() {
|
2013-04-28 07:23:00 +02:00
|
|
|
short_desc+=" -- bundled tools"
|
2013-04-13 13:29:34 +02:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/bin
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
nettle_package() {
|
|
|
|
pkg_install() {
|
2013-04-19 14:47:29 +02:00
|
|
|
vmove all
|
2013-04-13 13:29:34 +02:00
|
|
|
}
|
2012-12-03 12:28:37 +01:00
|
|
|
}
|