summaryrefslogtreecommitdiff
blob: f91620abab39d1c7d14dd74127f1d6af66d275a2 (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
# Copyright 1999-2000 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Achim Gottinger <achim@gentoo.org>
# $Header: /var/cvsroot/gentoo-x86/app-text/rcs/rcs-5.7-r1.ebuild,v 1.1 2001/03/20 06:21:37 achim Exp $

A=${P}.tar.gz
S=${WORKDIR}/${P}
DESCRIPTION="Revision Controll System"
SRC_URI="ftp://gatekeeper.dec.com/pub/GNU/rcs/${A}
	 ftp://ftp.gnu.org/gnu/rcs/${A}"
HOMEPAGE="http://www.gnu.org/software/rcs/"

DEPEND="virtual/glibc
	sys-apps/diffutils"

src_compile() {

    cd ${S}
    try ./configure --prefix=/usr --host=${CHOST} --with-diffutils
    cp ${FILESDIR}/conf.sh src/conf.sh
    try make

}

src_install () {

    cd ${S}
    try make prefix=${D}/usr \
	man1dir=${D}/usr/share/man/man1 \
	man3dir=${D}/usr/share/man/man3 \
	man5dir=${D}/usr/share/man/man5 install
    dodoc ChangeLog COPYING CREDITS NEWS README REFS
}