blob: e2a23e448b6739a536d81d2f6ddfd5e5ee882a41 (
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
|
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-util/rats/rats-2.1-r1.ebuild,v 1.3 2007/08/27 20:24:57 robbat2 Exp $
inherit eutils
DESCRIPTION="RATS - Rough Auditing Tool for Security"
HOMEPAGE="http://www.fortifysoftware.com/security-resources/rats.jsp"
SRC_URI="http://www.fortifysoftware.com/servlet/downloads/public/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE=""
DEPEND="dev-libs/expat
virtual/libc"
src_unpack() {
unpack ${A}
epatch ${FILESDIR}/${P}-add-getopt-trailing-null.patch
}
src_compile() {
econf --datadir="/usr/share/${PN}/" || die
emake || die
}
src_install () {
einstall SHAREDIR="${D}/usr/share/${PN}" MANDIR="${D}/usr/share/man" || die
dodoc README README.win32
}
|