summaryrefslogtreecommitdiff
blob: 539cea1f4712c314cddb78061719758553b8138e (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
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-libs/libsmi/libsmi-0.4.5.ebuild,v 1.4 2007/06/11 17:48:26 nixnut Exp $

DESCRIPTION="A Library to Access SMI MIB Information"
SRC_URI="ftp://ftp.ibr.cs.tu-bs.de/pub/local/${PN}/${P}.tar.gz"
HOMEPAGE="http://www.ibr.cs.tu-bs.de/projects/${PN}/"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~ia64 ppc ~sparc ~x86"
IUSE=""
RESTRICT="test"

src_compile() {
	econf
	emake || die
}

src_install () {
	einstall pibdir=${D}/usr/share/pibs mibdir=${D}/usr/share/mibs
	dodoc smi.conf-example ANNOUNCE ChangeLog COPYING README THANKS TODO
	cd ${S}/doc
	dodoc *.txt smi.dia smi.dtd smi.xsd
}