diff options
author | Hans de Graaff <graaff@gentoo.org> | 2020-02-02 09:44:23 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2020-02-02 10:01:43 +0100 |
commit | ba3ff3fd018ba29e972e22810e86ce342bc49b76 (patch) | |
tree | 6cf9603d723f6c7abc16e816702c8b6fac40d06c /dev-ruby/ruby-oci8 | |
parent | dev-ruby/ruby-oci8: cleanup (diff) | |
download | gentoo-ba3ff3fd018ba29e972e22810e86ce342bc49b76.tar.gz gentoo-ba3ff3fd018ba29e972e22810e86ce342bc49b76.tar.bz2 gentoo-ba3ff3fd018ba29e972e22810e86ce342bc49b76.zip |
dev-ruby/ruby-oci8: blind bump of 2.2.8
Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'dev-ruby/ruby-oci8')
-rw-r--r-- | dev-ruby/ruby-oci8/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/ruby-oci8/ruby-oci8-2.2.8.ebuild | 39 |
2 files changed, 40 insertions, 0 deletions
diff --git a/dev-ruby/ruby-oci8/Manifest b/dev-ruby/ruby-oci8/Manifest index 0ff4996133c6..1c1de543d541 100644 --- a/dev-ruby/ruby-oci8/Manifest +++ b/dev-ruby/ruby-oci8/Manifest @@ -1 +1,2 @@ DIST ruby-oci8-2.2.7.gem 337408 BLAKE2B e5f9d620e7df2b64643981614a3df877fd2bb9c5047e16d5aec6885259190faa437687c440c226a03bb70d4ca0a14155da4d64b442e9a532234b9cf047f7455c SHA512 03ecd7d0b94a8a8d164afec0f71c862c10d57d6d227b971384678a39e40bbf7dc14e7267c9133f3ec466fcaa5da46d78c6804d34187790cc8c23289ab9093fcd +DIST ruby-oci8-2.2.8.gem 338432 BLAKE2B e1db0c29ba71fff190b94c5946bc5025d4809ad92e154ddc5de2c2e1a4ccf856e81e33589ed17e303fe8708cd9f47e131e803bb534981da496f9f5820d895d0d SHA512 4184a7899384a6dd6ce9f152371015aeb1d6f09c37c48a368a1919168ddf0eb340bc8d576abdc1f804c2c776685ca9afc660104e35e2666d7c59cc16fd2c84f7 diff --git a/dev-ruby/ruby-oci8/ruby-oci8-2.2.8.ebuild b/dev-ruby/ruby-oci8/ruby-oci8-2.2.8.ebuild new file mode 100644 index 000000000000..0eb354ca1b47 --- /dev/null +++ b/dev-ruby/ruby-oci8/ruby-oci8-2.2.8.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +USE_RUBY="ruby24 ruby25 ruby26 ruby27" + +inherit multilib ruby-fakegem + +RUBY_FAKEGEM_EXTRADOC="NEWS README.md ChangeLog" + +DESCRIPTION="A Ruby library for Oracle OCI8" +HOMEPAGE="https://rubygems.org/gems/ruby-oci8/" + +LICENSE="Ruby" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND+=" dev-db/oracle-instantclient-basic" +DEPEND+=" dev-db/oracle-instantclient-basic" + +EXT_DIR="ext/oci8" + +each_ruby_configure() { + # configure the native libraries + ${RUBY} -C${EXT_DIR} extconf.rb --prefix="${D}/usr" || die "configure failed" +} + +each_ruby_compile() { + # compile the native libraries + emake -C ${EXT_DIR} V=1 +} + +each_ruby_install() { + # install the native libraries + emake -C ${EXT_DIR} install DESTDIR="${D}" + # install the gem files + each_fakegem_install +} |