# Compiling Time: 0.24 SBU
# Maintainer: Adam Zlehovszky <zleho@index.hu>

pkgname=cvs
pkgver=1.11.23
pkgrel=4
pkgdesc="Concurrent Version System - a version control system"
url="http://ximbiot.com/cvs/"
depends=('zlib')
groups=('devel-extra')
archs=('x86_64')
up2date="lynx -dump 'http://ftp.gnu.org/non-gnu/cvs/source/stable/?C=D;O=A'|grep 'stable/[0-9]'|sort -n -r|head -n1|sed 's/.*le\///;s/\///'"
source=(http://ftp.gnu.org/non-gnu/$pkgname/source/stable/$pkgver/$pkgname-$pkgver.tar.bz2 \
	cvs-1.11.20-extzlib.patch \
	getline.patch \
	cvs-1.11.23-Pass-compilation-with-Wformat-security.patch )
sha1sums=('a51c531eebaff2dfdcc0fb6d94c8c6e509e06d7d' \
          '0ffa20abf9de5fd8185a79c54247417dd8a78ddd' \
          '4a7977ea055a59ab66358e3b7cdf7d3c99cae741' \
          'ca412f2d7e16a916ecaf76f39a22e230d971e182')

build()
{
	Fpatchall
	Fautoreconf
	Fmake --without-gssapi --with-editor=/bin/true
	Fmakeinstall
}

# optimization OK
