void-packages/srcpkgs/nettle/template
jbu c2bfc6b7d5 bandwith / download times + $GNU_SITE cleanup
+ To reduce bandwidth and download times, packages use bz2/lzma/xz where possible.
+ Also use ${GNU_SITE} and ${KERNEL_SITE} where appropriate.
+ Clean up xlint warnings.
+ inetutils: update to 1.9.3 and split into subpkgs
2015-05-22 11:47:56 +02:00

34 lines
839 B
Bash

# Template build file for 'nettle'.
pkgname=nettle
version=2.7.1
reverts=3.0_1
revision=5
build_style=gnu-configure
hostmakedepends="m4"
makedepends="gmp-devel"
configure_args="--enable-shared"
short_desc="A low-level cryptographic library"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://www.lysator.liu.se/~nisse/nettle/"
license="GPL-2"
distfiles="${GNU_SITE}/$pkgname/$pkgname-${version}.tar.gz"
checksum=bc71ebd43435537d767799e414fce88e521b7278d48c860651216e1fc6555b40
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
}
}