summaryrefslogtreecommitdiff
blob: 54eedfe35afcbe671861e2206ccd6796f5be46c7 (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
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/transaction-simple/transaction-simple-1.1.1.ebuild,v 1.2 2004/09/04 23:19:42 dholm Exp $

inherit ruby

DESCRIPTION="Provides transaction support at the object level"
HOMEPAGE="http://www.halostatue.ca/ruby/Transaction__Simple.html"
SRC_URI="http://www.halostatue.ca/files/${P}.tar.gz"
LICENSE="MIT"

USE_RUBY="ruby18 ruby19"
KEYWORDS="~x86 ~ppc"

IUSE=""

src_compile() {
	return
}

src_install() {
	local sitelibdir
	sitelibdir=`${RUBY} -rrbconfig -e 'puts Config::CONFIG["sitelibdir"]'`
	insinto "$sitelibdir/transaction"
	doins lib/transaction/simple.rb
	erubydoc
	dodoc Readme Changelog
}

src_test() {
	einfo
	einfo "To test this software, read /usr/share/doc/${PF}/Readme.gz"
	einfo
}