diff options
Diffstat (limited to 'net-analyzer/scli/scli-0.2.12.ebuild')
-rw-r--r-- | net-analyzer/scli/scli-0.2.12.ebuild | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/net-analyzer/scli/scli-0.2.12.ebuild b/net-analyzer/scli/scli-0.2.12.ebuild new file mode 100644 index 000000000000..1485d8543eee --- /dev/null +++ b/net-analyzer/scli/scli-0.2.12.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2005 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.1 2005/01/28 11:49:51 ka0ttic Exp $ + +inherit eutils flag-o-matic + +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="~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() { + einfo "Updating autoconf/automake files" + WANT_AUTOCONF=2.13 WANT_AUTOMAKE=1.4 autoreconf || die "autoreconf failed" + + 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 +} |