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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Sat Jul 25 07:40:28 2015 UTC (4 years, 6 months ago) by idella4
Branch: MAIN
CVS Tags: HEAD
bump, rm old

(Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 0xB8072B0D)

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.2 2015/07/25 07:13:56 idella4 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