/[gentoo-x86]/dev-ruby/postgres/postgres-0.7.9.20080128-r2.ebuild
Gentoo

Contents of /dev-ruby/postgres/postgres-0.7.9.20080128-r2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (hide annotations) (download)
Thu Aug 16 16:56:49 2012 UTC (6 years, 3 months ago) by flameeyes
Branch: MAIN
Changes since 1.1: +1 -3 lines
Remove FAKEGEM_NAME usage.

(Portage version: 2.2.0_alpha120/cvs/Linux x86_64)

1 flameeyes 1.1 # Copyright 1999-2012 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3 flameeyes 1.2 # $Header: /var/cvsroot/gentoo-x86/dev-ruby/postgres/postgres-0.7.9.20080128-r2.ebuild,v 1.1 2012/08/16 03:44:31 flameeyes Exp $
4 flameeyes 1.1
5     EAPI=2
6     USE_RUBY="ruby18 ree18"
7    
8     RUBY_FAKEGEM_TASK_TEST=""
9     RUBY_FAKEGEM_TASK_DOC=""
10     RUBY_FAKEGEM_EXTRADOC="Contributors README"
11    
12     # changes 0.7.1.20060406 to 0.7.1.2006.04.06
13    
14     # ideally, PV would have been this to start with, but can't change it now as
15     # 0.7.1.20051221 > 0.7.1.2006.04.06.
16     RUBY_FAKEGEM_VERSION="0.7.9.2008.01.28"
17    
18     inherit multilib ruby-fakegem versionator
19    
20     MY_P="${RUBY_FAKEGEM_NAME}-${RUBY_FAKEGEM_VERSION}"
21    
22     DESCRIPTION="An extension library to access a PostgreSQL database from Ruby"
23     HOMEPAGE="http://ruby.scripting.ca/postgres"
24     SRC_URI="mirror://rubygems/${MY_P}.gem"
25     LICENSE="GPL-2 Ruby"
26     SLOT="0"
27     KEYWORDS="amd64 hppa ppc ppc64 x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
28     IUSE=""
29    
30     RDEPEND="${RDEPEND} dev-db/postgresql-base"
31     DEPEND="${DEPEND} dev-db/postgresql-base"
32    
33     all_ruby_prepare() {
34     # Remove yaml metadata so we supply our own gemspec. There are no
35     # ruby dependencies and this might fix bug 407829.
36     rm ../metadata || die
37     }
38    
39     each_ruby_configure() {
40     ${RUBY} -Cext extconf.rb || die
41     }
42    
43     each_ruby_compile() {
44     emake -Cext || die
45     }
46    
47     each_ruby_install() {
48     mkdir lib || die
49     mv ext/postgres$(get_modname) lib/ || die
50    
51     each_fakegem_install
52     }

  ViewVC Help
Powered by ViewVC 1.1.20