void-packages/srcpkgs/cvs/template

28 lines
854 B
Bash

# Template file for 'cvs'
pkgname=cvs
version=1.12.13
revision=8
build_style=gnu-configure
configure_args="--with-editor=/usr/bin/vi --with-external-zlib
ac_cv_func_working_mktime=yes" # broken test upstream
hostmakedepends="nvi openssh automake libtool gettext-devel-tools"
makedepends="mit-krb5-devel openssh"
depends="openssh>=6.1p1"
short_desc="Concurrent Versions System"
maintainer="Orphaned <orphan@voidlinux.org>"
homepage="http://www.nongnu.org/cvs/"
license="GPL-1.0-or-later, LGPL-2.0-or-later"
distfiles="http://ftp.gnu.org/non-gnu/cvs/source/feature/$version/cvs-$version.tar.bz2"
checksum=78853613b9a6873a30e1cc2417f738c330e75f887afdaf7b3d0800cb19ca515e
if [ "$XBPS_TARGET_LIBC" = "glibc" ]; then
makedepends+=" libxcrypt-devel"
fi
CFLAGS="-D_GNU_SOURCE=1"
pre_configure() {
cp configure.in configure.ac
autoupdate
autoreconf -fi
}