summaryrefslogtreecommitdiff
blob: 333b6fbfaf7f4e24dc82314ebce8b816cd170116 (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
33
34
35
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-irc/xdcc-fetch/xdcc-fetch-1.409.ebuild,v 1.2 2005/05/16 15:48:07 swegener Exp $

inherit eutils

MY_PN="XDCC-Fetch"

DESCRIPTION="A tool for search, collecting, and downloading XDCC announcements within IRC channels, written in Ruby."
HOMEPAGE="http://xdccfetch.sourceforge.net/"
SRC_URI="mirror://sourceforge/xdccfetch/${MY_PN}-${PV}.tar.gz"
LICENSE="BSD"

SLOT="0"
KEYWORDS="x86"

IUSE=""

DEPEND=">=dev-lang/ruby-1.8
	>=dev-ruby/fxruby-1.2"

S="${WORKDIR}"/${MY_PN}

src_install() {
	exeinto /usr/share/${PN}
	doexe ${MY_PN}.rbw || die "doexe failed"

	make_wrapper ${PN} /usr/share/${PN}/${MY_PN}.rbw .

	insinto /usr/share/${PN}
	doins -r icons src || die "doins failed"

	dodoc COPYING || die "dodoc failed"
	dohtml doc/* || die "dohtml failed"
}