void-packages/srcpkgs/libgcrypt/template
2013-04-17 11:15:51 +02:00

33 lines
804 B
Text

# Template build file for 'libgcrypt'.
pkgname=libgcrypt
version=1.5.0
revision=4
build_style=gnu-configure
configure_args="--disable-static"
makedepends="libgpg-error-devel"
short_desc="GNU cryptographic library"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.gnupg.org"
license="LGPL-2.1"
distfiles="ftp://ftp.gnupg.org/gcrypt/$pkgname/$pkgname-$version.tar.bz2"
checksum=4b62fc516004940a0571025401a0581d49199f1a76dfb5ce6fd63f50db8173fa
if [ "$CROSS_BUILD" ]; then
hostmakedepends="libgpg-error-devel"
fi
libgcrypt-devel_package() {
depends="libgpg-error-devel libgcrypt>=${version}"
short_desc="${short_desc} -- development files"
pkg_install() {
vmove usr/bin/libgcrypt-config
vmove usr/include
vmove usr/share
}
}
libgcrypt_package() {
pkg_install() {
vmove usr
}
}