void-packages/srcpkgs/gnupg/template
Jürgen Buchmüller 0a5d5443a0 gnupg: don't run checks for i686-musl
The checks make gnupg crash and the build fail. This means that some part
of gnupg is broken for i686-musl. Aloow it to build, though, to make it
available as a dependency for other packages.
2017-11-09 15:33:37 +01:00

20 lines
675 B
Bash

# Template file for 'gnupg'
pkgname=gnupg
version=1.4.22
revision=1
build_style=gnu-configure
configure_args="--enable-threads=posix --enable-noexecstack gnupg_cv_regex_broken=no"
makedepends="bzip2-devel zlib-devel libldap-devel libcurl-devel readline-devel libusb-compat-devel"
short_desc="The GNU Privacy Guard"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-3"
homepage="http://www.gnupg.org/"
distfiles="ftp://ftp.gnupg.org/gcrypt/gnupg/gnupg-${version}.tar.bz2"
checksum=9594a24bec63a21568424242e3f198b9d9828dea5ff0c335e47b06f835f930b4
post_extract() {
case "$XBPS_TARGET_MACHINE" in
i686-musl) sed -i Makefile* -e"s;checks = checks;checks =;" ;;
esac
}