summaryrefslogtreecommitdiff
blob: 7b0b9a203b8814f1c13c67921292971b093142d3 (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
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/diff/diff-0.4.ebuild,v 1.7 2006/03/30 03:26:20 agriffis Exp $

inherit ruby

DESCRIPTION="Computes the differences between two arrays of elements"
HOMEPAGE="http://users.cybercity.dk/~dsl8950/ruby/diff.html"
#SRC_URI="http://users.cybercity.dk/~dsl8950/ruby/${P}.tar.gz"
SRC_URI="http://www.rubynet.org/mirrors/diff/${P}.tar.gz"

LICENSE="GPL-2"
KEYWORDS="~ia64 ppc ppc64 ~sparc x86"

IUSE=""

src_install() {
	ruby_src_install
	docinto samples
	dodoc samples/*.rb
}

src_test() {
	cd test
	ruby test_diff.rb || die "test_diff.rb failed."
}