summaryrefslogtreecommitdiff
blob: df49b42a096de23b095263382c790d383feaf894 (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
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/snmplib/snmplib-0.4.0.ebuild,v 1.2 2004/12/20 14:16:24 citizen428 Exp $

inherit ruby

IUSE=""
USE_RUBY="any"

MY_P="${P/snmplib/snmp}"
S="${WORKDIR}/${MY_P}"

DESCRIPTION="SNMP library implemented in pure Ruby"
HOMEPAGE="http://snmplib.rubyforge.org/"
SRC_URI="http://rubyforge.org/frs/download.php/2254/${MY_P}.tgz"

KEYWORDS="~x86"
LICENSE="Ruby"
SLOT="0"

DEPEND="virtual/ruby"

src_install() {
	ruby setup.rb install --prefix=${D} || die
	dodoc README
	docinto examples
	dodoc ${S}/examples/*
}