# SliTaz package receipt.

PACKAGE="cvs"
VERSION="1.11.23"
CATEGORY="development"
SHORT_DESC="Concurrent Versions System"
MAINTAINER="erjo@slitaz.org"
DEPENDS="libcomerr libcomerr3 libcrypto libkrb5"
TARBALL="$PACKAGE-$VERSION.tar.bz2"
WEB_SITE="http://ximbiot.com/cvs/"
WGET_URL=""http://ftp.gnu.org/non-gnu/cvs/source/stable/$VERSION/$TARBALL
TAGS="version-control versioning"

# Rules to configure and make the package.
compile_rules()
{
	cd $src
	./configure -C --prefix=/usr \
		--with-ssh \
		--mandir=/usr/share/man $CONFIGURE_ARGS &&
	make &&
	make DESTDIR=$PWD/_pkg install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
	mkdir -p $fs/usr/bin
	cp -a $_pkg/usr/bin/cvs* $fs/usr/bin
}