/[gentoo-x86]/dev-ruby/sary-ruby/sary-ruby-1.2.0-r2.ebuild
Gentoo

Contents of /dev-ruby/sary-ruby/sary-ruby-1.2.0-r2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.12 - (show annotations) (download)
Fri Apr 18 17:11:34 2014 UTC (7 months, 1 week ago) by mrueg
Branch: MAIN
CVS Tags: HEAD
Changes since 1.11: +1 -1 lines
FILE REMOVED
dev-ruby/sary-ruby removal. See bug #434064.

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/sary-ruby/sary-ruby-1.2.0-r2.ebuild,v 1.11 2012/10/07 16:49:11 armin76 Exp $
4
5 EAPI="2"
6 # jruby: mkmf issue
7 USE_RUBY="ruby18 ree18"
8 inherit ruby-ng
9
10 DESCRIPTION="Ruby Binding of Sary"
11 HOMEPAGE="http://sary.sourceforge.net/"
12 SRC_URI="http://sary.sourceforge.net/${P}.tar.gz"
13
14 LICENSE="LGPL-2.1"
15 KEYWORDS="amd64 hppa ppc ppc64 x86"
16 SLOT="0"
17 IUSE=""
18
19 RDEPEND=">=app-text/sary-1.2.0"
20 DEPEND="${RDEPEND}
21 virtual/pkgconfig"
22
23 RUBY_PATCHES=(
24 "${P}-gentoo.patch"
25 "${P}-ruby19.patch"
26 )
27
28 each_ruby_configure() {
29 ${RUBY} extconf.rb || die "extconf.rb failed"
30 }
31
32 each_ruby_compile() {
33 # We have injected --no-undefined in Ruby as a safety precaution
34 # against broken ebuilds, but the Ruby-Gnome bindings
35 # unfortunately rely on the lazy load of other extensions; see bug
36 # #320545.
37 find . -name Makefile -print0 | xargs -0 \
38 sed -i -e 's:-Wl,--no-undefined ::' || die "--no-undefined removal failed"
39
40 emake || die "emake failed"
41 }
42
43 each_ruby_install() {
44 emake DESTDIR="${D}" install || die "make install failed"
45 }
46
47 all_ruby_install() {
48 dodoc ChangeLog *.rd || die
49 }

  ViewVC Help
Powered by ViewVC 1.1.20