/[gentoo-x86]/dev-ruby/net-geoip/net-geoip-0.07.ebuild
Gentoo

Contents of /dev-ruby/net-geoip/net-geoip-0.07.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.7 - (show annotations) (download)
Tue May 1 18:24:24 2012 UTC (2 years, 4 months ago) by armin76
Branch: MAIN
Changes since 1.6: +3 -3 lines
Drop ia64/sparc keywords

(Portage version: 2.1.10.53/cvs/Linux ia64, RepoMan options: --force)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-ruby/net-geoip/net-geoip-0.07.ebuild,v 1.6 2011/01/15 15:56:07 ranger Exp $
4
5 EAPI="2"
6 USE_RUBY="ruby18"
7
8 inherit ruby-ng
9
10 IUSE=""
11
12 DESCRIPTION="Ruby bindings for the GeoIP library"
13 HOMEPAGE="http://www.maxmind.com/app/ruby"
14 SRC_URI="http://geolite.maxmind.com/download/geoip/api/ruby/${P}.tar.gz"
15
16 LICENSE="BSD"
17 SLOT="0"
18 KEYWORDS="amd64 ppc ppc64 x86"
19
20 DEPEND="${DEPEND} >=dev-libs/geoip-1.2.1"
21 RDEPEND="${RDEPEND} >=dev-libs/geoip-1.2.1"
22
23 each_ruby_configure() {
24 ${RUBY} extconf.rb || die
25 }
26
27 each_ruby_compile() {
28 emake || die
29 }
30
31 each_ruby_install () {
32 emake install DESTDIR="${D}" || die
33 }
34
35 all_ruby_install() {
36 dodoc README TODO
37 }

  ViewVC Help
Powered by ViewVC 1.1.20