/[gentoo-x86]/dev-vcs/rcs/rcs-5.9.3.ebuild
Gentoo

Contents of /dev-vcs/rcs/rcs-5.9.3.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.7 - (show annotations) (download)
Sun Aug 2 18:44:17 2015 UTC (4 years, 5 months ago) by ago
Branch: MAIN
CVS Tags: HEAD
Changes since 1.6: +2 -2 lines
Stable for x86, wrt bug #555838

(Portage version: 2.2.20/cvs/Linux x86_64, RepoMan options: --include-arches="x86", signed Manifest commit with key 7194459F)

1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-vcs/rcs/rcs-5.9.3.ebuild,v 1.6 2015/07/31 15:12:09 ago Exp $
4
5 EAPI="5"
6
7 inherit eutils flag-o-matic
8
9 DESCRIPTION="Revision Control System"
10 HOMEPAGE="http://www.gnu.org/software/rcs/"
11 SRC_URI="mirror://gnu/rcs/${P}.tar.xz"
12
13 LICENSE="GPL-3"
14 SLOT="0"
15 KEYWORDS="alpha amd64 arm ~arm64 hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris"
16 IUSE="doc"
17
18 RDEPEND="
19 sys-apps/diffutils
20 sys-apps/ed"
21 DEPEND="${RDEPEND}"
22
23 src_prepare() {
24 sed -i -e '/gets is a security hole/d' \
25 lib/stdio.in.h || die
26 }
27
28 src_configure() {
29 append-flags -std=gnu99
30 econf
31 }
32
33 src_test() {
34 emake check
35 }
36
37 src_install() {
38 emake DESTDIR="${D}" install
39
40 dodoc ChangeLog NEWS README
41
42 if use doc; then
43 emake -C doc html
44 rm -R "${ED}/usr/share/doc/rcs"
45 mv doc/rcs.html doc/html
46 dodoc -r doc/html/
47 fi
48 }

  ViewVC Help
Powered by ViewVC 1.1.20