summaryrefslogtreecommitdiff
blob: d24ce96e6fdbd3e4217557fc549fadb5a805d306 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-postgres/ruby-postgres-0.7.1.ebuild,v 1.8 2005/12/20 17:32:46 dang Exp $

DESCRIPTION="An extension library to access a PostgreSQL database from Ruby"
HOMEPAGE="http://www.postgresql.jp/interfaces/ruby/"
SRC_URI="http://www.postgresql.jp/interfaces/ruby/archive/${P}.tar.gz"
LICENSE="Ruby"
SLOT="0"
KEYWORDS="alpha ~amd64 hppa ~ia64 mips ppc sparc x86"
IUSE=""
DEPEND=">=dev-lang/ruby-1.3.4
	>=dev-db/postgresql-6.4"

src_compile() {
	ruby extconf.rb || die
	emake || die
}

src_install() {
	make DESTDIR=${D} install || die
}