blob: 4ba3b2bed9aa0d31f5e7cd22a3ba8ac4db281370 (
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-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-news/raggle/raggle-0.4.0.ebuild,v 1.3 2006/05/02 00:11:20 weeve Exp $
inherit ruby
IUSE=""
DESCRIPTION="A console RSS aggregator, written in Ruby"
HOMEPAGE="http://www.raggle.org/"
SRC_URI="http://www.raggle.org/files/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="alpha ~amd64 ~hppa ~mips ~ppc sparc x86"
USE_RUBY="any"
DEPEND="|| ( >=dev-lang/ruby-1.8
dev-lang/ruby-cvs )"
RDEPEND=">=dev-ruby/ncurses-ruby-0.8"
src_unpack() {
unpack ${A}
cd ${S}
sed -i -e 's~/usr/local~${D}/usr~' \
-e '/cp -r \${DOCS}/d' \
-e "/^DOCDIR/ s/raggle/${PF}/" \
Makefile || die "sed failed"
find . -type d -name CVS -exec rm -rf {} \; 2>/dev/null
}
|