void-packages/srcpkgs/gnutls/template

42 lines
1.1 KiB
Plaintext

# Template build file for 'gnutls'.
pkgname=gnutls
version=3.1.9
revision=2
makedepends="pkg-config lzo-devel readline-devel libgpg-error-devel
libtasn1-devel>=3.2 libgcrypt-devel p11-kit-devel nettle-devel"
build_style=gnu-configure
configure_args="--with-zlib --disable-guile --disable-static
--disable-valgrind-tests"
short_desc="GNU Transport Layer Security library"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.gnu.org/software/gnutls/"
license="GPL-3, LGPL-2.1"
distfiles="ftp://ftp.gnutls.org/gcrypt/gnutls/v3.1/gnutls-${version}.tar.xz"
checksum=0900c4ae2e026a4c714d88e1aa134db2e0be9ecddf0be9641ade5dafcf877c3e
gnutls-devel_package() {
depends="zlib-devel libtasn1-devel p11-kit-devel nettle-devel
libgcrypt-devel ${sourcepkg}>=${version}"
short_desc="${short_desc} -- development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/share/man/man3
vmove usr/share/info
}
}
gnutls-tools_package() {
short_desc="${short_desc} -- bundled tools"
pkg_install() {
vmove usr/bin
vmove usr/share/man/man1
}
}
gnutls_package() {
pkg_install() {
vmove usr
}
}