diff options
author | Hans de Graaff <graaff@gentoo.org> | 2016-06-21 06:36:19 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2016-06-21 07:07:48 +0200 |
commit | 166ae9ec2256f228ac7d6c93e8ca3870999e3ff0 (patch) | |
tree | 8c91efe481a94e1053ab49745bb9f6bad4a5d9e3 /dev-ruby | |
parent | 77ddc239721eca3c4260212c152bf98a757495ca (diff) | |
download | gentoo-166ae9ec2256f228ac7d6c93e8ca3870999e3ff0.tar.gz gentoo-166ae9ec2256f228ac7d6c93e8ca3870999e3ff0.tar.xz |
dev-ruby/ruby-ldap: add 0.9.19
Package-Manager: portage-2.2.28
Diffstat (limited to 'dev-ruby')
-rw-r--r-- | dev-ruby/ruby-ldap/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/ruby-ldap/ruby-ldap-0.9.19.ebuild | 42 |
2 files changed, 43 insertions, 0 deletions
diff --git a/dev-ruby/ruby-ldap/Manifest b/dev-ruby/ruby-ldap/Manifest index bd94fba8dbe..7dd4af9b88c 100644 --- a/dev-ruby/ruby-ldap/Manifest +++ b/dev-ruby/ruby-ldap/Manifest @@ -1,3 +1,4 @@ DIST ruby-ldap-0.9.16.gem 65024 SHA256 a068e0b0d52621c2a72583e07211f4795b3cd9496dd6b5cf7a2c8a746018ce21 SHA512 b81a9b24f29a7c40b5d1c020008bfd14666a15c3b407e5495ac7b12e470783d696c8ad25c9a508b9933829695a8ac3fcb52a209fdb4fb7de499308af61a4b832 WHIRLPOOL dea6d8f4c716f3c0408ca2ba11e4fd411916f9afd07a497deb91fe38c2f0440482a893527b8976801a41742da15f3cacc7330c85a26ec1c948e49e0a99a1f432 DIST ruby-ldap-0.9.17.gem 66560 SHA256 951ab18e8dbc2b9791555c38833df07e322992d3eb53aefca88a085fc55686c6 SHA512 b6400faa4ae19f3d783810a6b2f7af36e89cbf001aa48a343e1ff6e5f9e74639bb84db2dc58a1465f91130248eaf17767a6c125e1d416aaf7d45ff8c14c3b68e WHIRLPOOL 00b9f4508a94b0c4ecb61e3f3749142b2daa4645d80feccd86d7ed1ff9163a2cc5dcec9d516ebd4b8587573e49abdeadc31427b09e057494f8389b35009ced49 DIST ruby-ldap-0.9.18.gem 67072 SHA256 cf96420e778dade4851234a3be3b3ffd96a7c3f91a266b4fd60022a14883c5d5 SHA512 698375840498e3cbe6e4ad962b3754bf74b0e0c356f95e59a71267841014a31dc85235e736c2ecd23e86c1ae0f9da00074c1612427afea1b409f0d8e7f596a07 WHIRLPOOL 69f1ec1a6e97eb9d016f62a4be348b1c586d90c38aaad6207177ad8beaf791adee5c6f0a80b7ef1ff0e7a356825f081370929c2a45180303fe612066f66a0efd +DIST ruby-ldap-0.9.19.gem 91648 SHA256 8729230019eddd6f5a13baf5116e95e2800478636f66027e76011db274213981 SHA512 0ed931552df00c11855297ab44fd1c9a79e751937758d38189147f1d37cbce9b1da6fa42e64a9fd44610e948b1c13031013b7931ed473cd55b8425e64a50584a WHIRLPOOL f82e718f03feabb028f7490f8c87a3da159b6d2cf26c7ed9c7872183f5a029978dc56b26976223d61fd6afc576c489997e9340d064341221c8ea1dd262face0d diff --git a/dev-ruby/ruby-ldap/ruby-ldap-0.9.19.ebuild b/dev-ruby/ruby-ldap/ruby-ldap-0.9.19.ebuild new file mode 100644 index 00000000000..aa8cf8f6457 --- /dev/null +++ b/dev-ruby/ruby-ldap/ruby-ldap-0.9.19.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +USE_RUBY="ruby20 ruby21 ruby22 ruby23" + +inherit multilib ruby-fakegem + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_TASK_TEST="" +RUBY_FAKEGEM_EXTRADOC="ChangeLog FAQ NOTES README TODO" + +DESCRIPTION="A Ruby interface to some LDAP libraries" +HOMEPAGE="http://ruby-ldap.sourceforge.net/" +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-macos" +IUSE="ssl" +DEPEND=">=net-nds/openldap-2 + dev-libs/cyrus-sasl + ssl? ( dev-libs/openssl:0 )" +RDEPEND="${DEPEND}" + +# Current test set is interactive due to certificate generation and requires +# running LDAP daemon +RESTRICT="test" + +each_ruby_configure() { + local myconf="--with-openldap2" + if ! use ssl ; then + myconf="${myconf} --without-libcrypto --without-libssl" + fi + ${RUBY} extconf.rb ${myconf} || die "extconf.rb failed" + sed -i -e 's:-Wl,--no-undefined::' \ + -e "s/^ldflags = /ldflags = $\(LDFLAGS\) /" Makefile || die +} + +each_ruby_compile() { + emake V=1 + cp ldap$(get_modname) lib/ || die +} |