summaryrefslogtreecommitdiff
blob: 7a66c337588f21aa33411b75fde028ec58649737 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# Author Daniel Robbins <drobbins@gentoo.org>
# $Header: /var/cvsroot/gentoo-x86/dev-util/cvs/cvs-1.11.1_p1.ebuild,v 1.7 2003/02/13 11:49:03 vapier Exp $

S=${WORKDIR}/${P/_}
DESCRIPTION="Concurrent Versions System - source code revision control tools"
SRC_URI="http://ftp.cvshome.org/${P/"_p1"}/${P/_}.tar.gz
		 mirror://gentoo/cvs-1.11.1p1-extzlib.patch.bz2"
HOMEPAGE="http://www.cvshome.org/"
DEPEND="virtual/glibc 
	>=sys-libs/ncurses-5.1 
	>=sys-libs/zlib-1.1.4"

SLOT="0"
LICENSE="GPL-2 LGPL-2"
KEYWORDS="x86 ppc sparc "


src_unpack() {

	unpack ${P/_}.tar.gz

	# Redhat's external zlib patch
	cd ${S}
	cp ${DISTDIR}/cvs-1.11.1p1-extzlib.patch.bz2 ${S} 
	bunzip2 cvs-1.11.1p1-extzlib.patch.bz2
	patch -p1 < cvs-1.11.1p1-extzlib.patch

}

src_compile() {                           
	econf || die
	make || die
}

src_install() {                               

	einstall || die

	dodoc BUGS COPYING* ChangeLog* DEVEL* FAQ HACKING 
	dodoc MINOR* NEWS PROJECTS README* TESTS TODO
	mv ${D}/usr/lib/cvs/contrib ${D}/usr/doc/${P}/contrib
	insinto /usr/share/emacs/site-lisp
	doins cvs-format.el
}