2008-10-13 04:18:52 +00:00
|
|
|
# Template build file for 'libgcrypt'.
|
|
|
|
pkgname=libgcrypt
|
2012-01-05 11:30:46 +00:00
|
|
|
version=1.5.0
|
2013-04-12 11:13:49 +00:00
|
|
|
revision=4
|
2011-10-24 12:14:47 +00:00
|
|
|
build_style=gnu-configure
|
2013-02-13 07:54:45 +00:00
|
|
|
configure_args="--disable-static"
|
2012-05-23 16:26:56 +00:00
|
|
|
makedepends="libgpg-error-devel"
|
2008-10-13 04:18:52 +00:00
|
|
|
short_desc="GNU cryptographic library"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2013-02-13 07:54:45 +00:00
|
|
|
homepage="http://www.gnupg.org"
|
|
|
|
license="LGPL-2.1"
|
|
|
|
distfiles="ftp://ftp.gnupg.org/gcrypt/$pkgname/$pkgname-$version.tar.bz2"
|
2012-01-05 11:30:46 +00:00
|
|
|
checksum=4b62fc516004940a0571025401a0581d49199f1a76dfb5ce6fd63f50db8173fa
|
2013-04-12 11:13:49 +00:00
|
|
|
|
2013-04-17 09:15:51 +00:00
|
|
|
if [ "$CROSS_BUILD" ]; then
|
|
|
|
hostmakedepends="libgpg-error-devel"
|
|
|
|
fi
|
|
|
|
|
2013-04-12 11:13:49 +00:00
|
|
|
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
|
|
|
|
}
|
|
|
|
}
|