void-packages/srcpkgs/libgcrypt/template

34 lines
791 B
Text
Raw Normal View History

# Template build file for 'libgcrypt'.
pkgname=libgcrypt
2013-05-05 07:21:57 +00:00
version=1.5.2
revision=1
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"
2013-05-05 07:21:57 +00:00
checksum=e41a4339f50294f3c925f2f71aaf2427eb162d2994da91666dfc32621afe963f
2013-04-17 09:15:51 +00:00
if [ "$CROSS_BUILD" ]; then
hostmakedepends="libgpg-error-devel"
fi
libgcrypt-devel_package() {
depends="libgpg-error-devel libgcrypt>=${version}"
2013-05-05 07:21:57 +00:00
short_desc+=" - development files"
pkg_install() {
vmove usr/bin/libgcrypt-config
vmove usr/include
vmove usr/share
}
}
libgcrypt_package() {
pkg_install() {
vmove usr
}
}