blob: 2d8f169b46b779cd6948dbe999b6007d0e1d4521 (
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
|
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nipper/nipper-0.9.4.ebuild,v 1.2 2007/05/22 10:40:31 ikelos Exp $
inherit toolchain-funcs eutils
DESCRIPTION="Script to parse and report on Cisco config errors"
HOMEPAGE="http://www.sourceforge.net/projects/nipper"
SRC_URI="mirror://sourceforge/${PN}/${P}.tgz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE=""
DEPEND="sys-libs/glibc"
RDEPEND="sys-libs/glibc"
RESTRICT="mirror"
src_compile() {
epatch ${FILESDIR}/${P}-pix-xml.patch
epatch ${FILESDIR}/${P}-banner-exclamation.patch
cd ${S}
$(tc-getCC) ${CFLAGS} ${PN}.c -o${PN}
}
src_install() {
dobin ${PN}
dodoc INSTALL LICENSE TODO Changelog
}
|