/[gentoo-x86]/dev-ruby/ruby-ldap/ruby-ldap-0.9.17.ebuild
Gentoo

Contents of /dev-ruby/ruby-ldap/ruby-ldap-0.9.17.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Mon Feb 16 06:29:14 2015 UTC (2 years, 11 months ago) by graaff
Branch: MAIN
CVS Tags: HEAD
Version bump.

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

1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-ruby/ruby-ldap/ruby-ldap-0.9.16-r2.ebuild,v 1.1 2014/12/26 10:47:17 graaff Exp $
4
5 EAPI=5
6 USE_RUBY="ruby19 ruby20 ruby21 ruby22"
7
8 inherit multilib ruby-fakegem
9
10 RUBY_FAKEGEM_RECIPE_DOC="rdoc"
11 RUBY_FAKEGEM_TASK_TEST=""
12 RUBY_FAKEGEM_EXTRADOC="ChangeLog FAQ NOTES README TODO"
13
14 DESCRIPTION="A Ruby interface to some LDAP libraries"
15 HOMEPAGE="http://ruby-ldap.sourceforge.net/"
16 LICENSE="BSD"
17 SLOT="0"
18 KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-macos"
19 IUSE="ssl"
20 DEPEND=">=net-nds/openldap-2
21 dev-libs/cyrus-sasl
22 ssl? ( dev-libs/openssl )"
23 RDEPEND="${DEPEND}"
24
25 # Current test set is interactive due to certificate generation and requires
26 # running LDAP daemon
27 RESTRICT="test"
28
29 each_ruby_configure() {
30 local myconf="--with-openldap2"
31 if ! use ssl ; then
32 myconf="${myconf} --without-libcrypto --without-libssl"
33 fi
34 ${RUBY} extconf.rb ${myconf} || die "extconf.rb failed"
35 sed -i -e 's:-Wl,--no-undefined::' \
36 -e "s/^ldflags = /ldflags = $\(LDFLAGS\) /" Makefile || die
37 }
38
39 each_ruby_compile() {
40 emake V=1
41 cp ldap$(get_modname) lib/ || die
42 }

  ViewVC Help
Powered by ViewVC 1.1.20