summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNguyen Thai Ngoc Duy <pclouds@gentoo.org>2006-09-02 21:17:56 +0000
committerNguyen Thai Ngoc Duy <pclouds@gentoo.org>2006-09-02 21:17:56 +0000
commite7655bafc32993068063ded24a735195d3fe8af1 (patch)
tree887721dd8dbbd9d023aff5fd14cab5c10c366763 /dev-ruby/net-geoip
parentFixed keywords and removed useless ebuild (see bug #141421). (diff)
downloadgentoo-2-e7655bafc32993068063ded24a735195d3fe8af1.tar.gz
gentoo-2-e7655bafc32993068063ded24a735195d3fe8af1.tar.bz2
gentoo-2-e7655bafc32993068063ded24a735195d3fe8af1.zip
Fixed #145663
(Portage version: 2.1.1_rc1)
Diffstat (limited to 'dev-ruby/net-geoip')
-rw-r--r--dev-ruby/net-geoip/ChangeLog6
-rw-r--r--dev-ruby/net-geoip/files/digest-net-geoip-0.062
-rw-r--r--dev-ruby/net-geoip/files/digest-net-geoip-0.06-r13
-rw-r--r--dev-ruby/net-geoip/files/net-geoip-0.06-extconf.patch11
-rw-r--r--dev-ruby/net-geoip/net-geoip-0.06-r1.ebuild30
5 files changed, 51 insertions, 1 deletions
diff --git a/dev-ruby/net-geoip/ChangeLog b/dev-ruby/net-geoip/ChangeLog
index 8da28bda166c..264343a021bb 100644
--- a/dev-ruby/net-geoip/ChangeLog
+++ b/dev-ruby/net-geoip/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-ruby/net-geoip
# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/net-geoip/ChangeLog,v 1.5 2006/03/30 03:36:35 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/net-geoip/ChangeLog,v 1.6 2006/09/02 21:17:56 pclouds Exp $
+
+ 02 Sep 2006; Nguyễn Thái Ngọc Duy <pclouds@gentoo.org>
+ +files/net-geoip-0.06-extconf.patch, +net-geoip-0.06-r1.ebuild:
+ Fixed #145663
30 Mar 2006; Aron Griffis <agriffis@gentoo.org> net-geoip-0.06.ebuild:
Mark 0.06 ~ia64
diff --git a/dev-ruby/net-geoip/files/digest-net-geoip-0.06 b/dev-ruby/net-geoip/files/digest-net-geoip-0.06
index 06eef3b11f25..ec83146c914c 100644
--- a/dev-ruby/net-geoip/files/digest-net-geoip-0.06
+++ b/dev-ruby/net-geoip/files/digest-net-geoip-0.06
@@ -1 +1,3 @@
MD5 4bbae1a05a4339f79e2853778d4b50f3 net-geoip-0.06.tar.gz 3941
+RMD160 041a8532d4e3f222b87c17fa11cc87f7aa31920e net-geoip-0.06.tar.gz 3941
+SHA256 e2ed54c5d07e0ca512c2052a05303acbd331124403013c9112fffbe04ab5f327 net-geoip-0.06.tar.gz 3941
diff --git a/dev-ruby/net-geoip/files/digest-net-geoip-0.06-r1 b/dev-ruby/net-geoip/files/digest-net-geoip-0.06-r1
new file mode 100644
index 000000000000..ec83146c914c
--- /dev/null
+++ b/dev-ruby/net-geoip/files/digest-net-geoip-0.06-r1
@@ -0,0 +1,3 @@
+MD5 4bbae1a05a4339f79e2853778d4b50f3 net-geoip-0.06.tar.gz 3941
+RMD160 041a8532d4e3f222b87c17fa11cc87f7aa31920e net-geoip-0.06.tar.gz 3941
+SHA256 e2ed54c5d07e0ca512c2052a05303acbd331124403013c9112fffbe04ab5f327 net-geoip-0.06.tar.gz 3941
diff --git a/dev-ruby/net-geoip/files/net-geoip-0.06-extconf.patch b/dev-ruby/net-geoip/files/net-geoip-0.06-extconf.patch
new file mode 100644
index 000000000000..f0c7d6ae9ce0
--- /dev/null
+++ b/dev-ruby/net-geoip/files/net-geoip-0.06-extconf.patch
@@ -0,0 +1,11 @@
+--- net-geoip-0.06/extconf.rb 2003-01-08 06:45:07.000000000 +0700
++++ net-geoip-0.06/extconf.rb.new 2006-09-03 04:02:45.000000000 +0700
+@@ -66,7 +66,7 @@
+ EOL
+ end
+
+-$CFLAGS = '-g -Wall' + $CFLAGS
++$CFLAGS = '-g -Wall ' + $CFLAGS
+
+ create_header()
+ create_makefile('net/geoip')
diff --git a/dev-ruby/net-geoip/net-geoip-0.06-r1.ebuild b/dev-ruby/net-geoip/net-geoip-0.06-r1.ebuild
new file mode 100644
index 000000000000..8285f04fb05d
--- /dev/null
+++ b/dev-ruby/net-geoip/net-geoip-0.06-r1.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/net-geoip/net-geoip-0.06-r1.ebuild,v 1.1 2006/09/02 21:17:56 pclouds Exp $
+
+inherit ruby
+
+IUSE=""
+
+DESCRIPTION="Ruby bindings for the GeoIP library"
+HOMEPAGE="http://www.maxmind.com/app/ruby"
+SRC_URI="http://www.rubynet.org/modules/net/geoip/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~ia64 ~ppc ~x86"
+
+DEPEND="virtual/ruby
+ >=dev-libs/geoip-1.2.1"
+USE_RUBY="ruby16 ruby18 ruby19"
+PATCHES="${FILESDIR}/${PN}-0.06-extconf.patch"
+
+src_compile() {
+ ruby extconf.rb || die
+ emake || die
+}
+
+src_install () {
+ make install DESTDIR=${D} || die
+ dodoc README TODO
+}