summaryrefslogtreecommitdiff
blob: 13a6535f8aeffeee4e6ef5a87f28ab6a5efa60b8 (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
# 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.3.0.ebuild,v 1.2 2004/12/20 12:30:43 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/1365/${MY_P}.tgz"

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

DEPEND="virtual/ruby"

src_compile() {
	ruby setup.rb config || die
	ruby setup.rb setup || die
}

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