34 lines
814 B
Text
34 lines
814 B
Text
# Template build file for 'libgcrypt'.
|
|
pkgname=libgcrypt
|
|
version=1.5.3
|
|
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"
|
|
checksum=bcf5334e7da352c45de6aec5d2084ce9a1d30029ff4a4a5da13f1848874759d1
|
|
|
|
if [ "$CROSS_BUILD" ]; then
|
|
hostmakedepends="libgpg-error-devel"
|
|
fi
|
|
|
|
libgcrypt-devel_package() {
|
|
depends="libgpg-error-devel libgcrypt>=${version}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/bin/libgcrypt-config
|
|
vmove usr/include
|
|
vmove usr/share
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|
|
|
|
libgcrypt_package() {
|
|
pkg_install() {
|
|
vmove usr
|
|
}
|
|
}
|