/[gentoo-x86]/dev-ruby/curb/curb-0.8.5.ebuild
Gentoo

Contents of /dev-ruby/curb/curb-0.8.5.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Fri Oct 4 05:47:21 2013 UTC (9 months, 3 weeks ago) by graaff
Branch: MAIN
CVS Tags: HEAD
Version bump.

(Portage version: 2.2.1/cvs/Linux x86_64, signed Manifest commit with key 0x8883FA56A308A8D7!)

1 # Copyright 1999-2013 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-ruby/curb/curb-0.8.4.ebuild,v 1.1 2013/07/14 06:55:32 graaff Exp $
4
5 EAPI=5
6 # No longer compatible with ruby 1.8
7 USE_RUBY="ruby19 ruby20"
8
9 RUBY_FAKEGEM_RECIPE_TEST="rake"
10 RUBY_FAKEGEM_RECIPE_DOC="rdoc"
11
12 inherit ruby-fakegem
13
14 DESCRIPTION="Ruby-language bindings for libcurl"
15 HOMEPAGE="http://curb.rubyforge.org/"
16
17 LICENSE="Ruby"
18 SLOT="0"
19 KEYWORDS="~amd64"
20 IUSE=""
21
22 DEPEND+=" net-misc/curl[ssl]"
23 RDEPEND+=" net-misc/curl[ssl]"
24
25 all_ruby_prepare() {
26 # fix tests when localhost is also ::1
27 sed -i -e 's|localhost:|127.0.0.1:|g' tests/*.rb || die
28 }
29
30 each_ruby_configure() {
31 ${RUBY} -Cext extconf.rb || die "extconf.rb failed"
32 }
33
34 each_ruby_compile() {
35 emake -Cext CFLAGS="${CFLAGS} -fPIC" archflags="${LDFLAGS}" V=1
36 cp -l ext/curb_core$(get_modname) lib || die
37 }

  ViewVC Help
Powered by ViewVC 1.1.20