blob: 77ce967b4a362575c1c02b3f6acc1a332ec2061e (
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-analyzer/scli/scli-0.2.12.ebuild,v 1.7 2006/10/31 21:04:47 jokey Exp $
WANT_AUTOCONF="latest"
inherit eutils flag-o-matic autotools
DESCRIPTION="SNMP Command Line Interface"
HOMEPAGE="http://www.ibr.cs.tu-bs.de/projects/scli/"
SRC_URI="ftp://ftp.ibr.cs.tu-bs.de/pub/local/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~ppc ~sparc x86"
IUSE="debug"
RDEPEND="virtual/libc
=dev-libs/glib-1.2*
>=sys-libs/ncurses-5
>=sys-libs/readline-4
dev-libs/libxml2
sys-libs/zlib
debug? ( dev-libs/dmalloc )"
DEPEND="${RDEPEND}"
src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}"/${P}-fix-configure.diff
epatch "${FILESDIR}"/${P}-gentoo.diff
}
src_compile() {
eautoconf
append-flags -I/usr/include/libxml2
econf \
--enable-warnings \
$(use_enable debug dmalloc) \
|| die "econf failed"
emake || die "emake failed"
}
src_install() {
make DESTDIR="${D}" install || die "make install failed"
dodoc README AUTHORS NEWS TODO ChangeLog PORTING
}
|