--- /dev/null
+# ChangeLog for dev-libs/libcli
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libcli/ChangeLog,v 1.1 2006/10/30 12:46:43 aross Exp $
+
+*libcli-1.8.6 (30 Oct 2006)
+
+ 30 Oct 2006; Andrew Ross <aross@gentoo.org> +metadata.xml,
+ +libcli-1.8.6.ebuild:
+ Add new package dev-libs/libcli (bug #140616).
+
--- /dev/null
+MD5 fde7103a3771f550bfd366ee3ca1ef53 libcli-1.8.6.tar.gz 29473
+RMD160 b1885e1b69ffe457f6f7ce3c1c7be64529824bd5 libcli-1.8.6.tar.gz 29473
+SHA256 77ed7dfbcb6e4403526087c813cd1a4463dfb2528840ce2bc4f9e904cc21e8ff libcli-1.8.6.tar.gz 29473
--- /dev/null
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libcli/libcli-1.8.6.ebuild,v 1.1 2006/10/30 12:46:43 aross Exp $
+
+inherit multilib toolchain-funcs
+
+DESCRIPTION="Cisco-style (telnet) command-line interface library"
+
+HOMEPAGE="http://sourceforge.net/projects/libcli"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+LICENSE="LGPL-2.1"
+
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+IUSE=""
+
+DEPEND=""
+RDEPEND=""
+
+src_unpack() {
+ unpack ${A}
+
+ # Support /lib{32,64}
+ sed -i 's:$(PREFIX)/lib:$(libdir):g' "${S}"/Makefile
+ sed -i 's:PREFIX = /usr/local:&\nlibdir = $(PREFIX)/lib:' "${S}"/Makefile
+}
+
+src_compile() {
+ emake OPTIM="" DEBUG="" CC="$(tc-getCC)" || die "emake failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" \
+ PREFIX=/usr \
+ OPTIM="" \
+ DEBUG="" \
+ libdir="/usr/$(get_libdir)" \
+ install || die "emake install failed"
+
+ dobin clitest
+
+ dohtml Doc/*
+ dodoc README
+}
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>no-herd</herd>
+ <maintainer>
+ <email>aross@gentoo.org</email>
+ </maintainer>
+ <longdescription lang="en">
+ libcli provides a shared library for including a Cisco-like command-line
+ interface into other software. It's a telnet interface which supports
+ command-line editing, history, authentication and callbacks for a
+ user-definable function tree.
+ </longdescription>
+</pkgmetadata>
+