2008-10-13 06:18:52 +02:00
|
|
|
# Template build file for 'libgcrypt'.
|
|
|
|
pkgname=libgcrypt
|
2013-07-25 22:18:29 +02:00
|
|
|
version=1.5.3
|
2013-05-05 09:21:57 +02:00
|
|
|
revision=1
|
2011-10-24 14:14:47 +02:00
|
|
|
build_style=gnu-configure
|
2013-02-13 08:54:45 +01:00
|
|
|
configure_args="--disable-static"
|
2012-05-23 18:26:56 +02:00
|
|
|
makedepends="libgpg-error-devel"
|
2008-10-13 06:18:52 +02:00
|
|
|
short_desc="GNU cryptographic library"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2013-02-13 08:54:45 +01:00
|
|
|
homepage="http://www.gnupg.org"
|
|
|
|
license="LGPL-2.1"
|
|
|
|
distfiles="ftp://ftp.gnupg.org/gcrypt/$pkgname/$pkgname-$version.tar.bz2"
|
2013-07-25 22:18:29 +02:00
|
|
|
checksum=bcf5334e7da352c45de6aec5d2084ce9a1d30029ff4a4a5da13f1848874759d1
|
2013-04-12 13:13:49 +02:00
|
|
|
|
2013-04-17 11:15:51 +02:00
|
|
|
if [ "$CROSS_BUILD" ]; then
|
|
|
|
hostmakedepends="libgpg-error-devel"
|
|
|
|
fi
|
|
|
|
|
2013-04-12 13:13:49 +02:00
|
|
|
libgcrypt-devel_package() {
|
|
|
|
depends="libgpg-error-devel libgcrypt>=${version}"
|
2013-05-05 09:21:57 +02:00
|
|
|
short_desc+=" - development files"
|
2013-04-12 13:13:49 +02:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/bin/libgcrypt-config
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/share
|
2013-07-25 22:18:29 +02:00
|
|
|
vmove "usr/lib/*.so"
|
2013-04-12 13:13:49 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
libgcrypt_package() {
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr
|
|
|
|
}
|
|
|
|
}
|