39 lines
1.1 KiB
Bash
39 lines
1.1 KiB
Bash
# Template file for 'gnupg1'
|
|
pkgname=gnupg1
|
|
version=1.4.23
|
|
revision=1
|
|
wrksrc=gnupg-${version}
|
|
build_style=gnu-configure
|
|
configure_args="--enable-threads=posix --enable-noexecstack
|
|
gnupg_cv_regex_broken=no"
|
|
hostmakedepends="automake gettext-devel-tools"
|
|
makedepends="bzip2-devel zlib-devel libldap-devel libcurl-devel readline-devel
|
|
libusb-compat-devel"
|
|
short_desc="GNU Privacy Guard v1"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="GPL-3.0-or-later"
|
|
homepage="https://www.gnupg.org/"
|
|
distfiles="https://www.gnupg.org/ftp/gcrypt/gnupg/gnupg-${version}.tar.bz2"
|
|
checksum=c9462f17e651b6507848c08c430c791287cd75491f8b5a8b50c6ed46b12678ba
|
|
|
|
CFLAGS="-fcommon"
|
|
|
|
pre_configure() {
|
|
autoreconf -fi
|
|
}
|
|
|
|
post_extract() {
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
i686-musl) sed -i Makefile* -e"s;checks = checks;checks =;" ;;
|
|
esac
|
|
}
|
|
|
|
post_install() {
|
|
rm ${DESTDIR}/usr/bin/gpgsplit
|
|
mv ${DESTDIR}/usr/bin/gpg ${DESTDIR}/usr/bin/gpg1
|
|
mv ${DESTDIR}/usr/bin/gpgv ${DESTDIR}/usr/bin/gpgv1
|
|
mv ${DESTDIR}/usr/share/man/man1/gpg.1 \
|
|
${DESTDIR}/usr/share/man/man1/gpg1.1
|
|
mv ${DESTDIR}/usr/share/man/man1/gpgv.1 \
|
|
${DESTDIR}/usr/share/man/man1/gpgv1.1
|
|
}
|