diff options
author | Hans de Graaff <graaff@gentoo.org> | 2018-01-21 20:35:39 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2018-01-21 20:37:03 +0100 |
commit | e870421d61337956fdb76166c3622c086e367faa (patch) | |
tree | 45653ca3466431af6d52f9467b210287a43c6e2a /dev-ruby/ruby-oci8 | |
parent | dev-ruby/ruby-oci8: cleanup (diff) | |
download | gentoo-e870421d61337956fdb76166c3622c086e367faa.tar.gz gentoo-e870421d61337956fdb76166c3622c086e367faa.tar.bz2 gentoo-e870421d61337956fdb76166c3622c086e367faa.zip |
dev-ruby/ruby-oci8: add 2.2.5.1 (untested)
Package-Manager: Portage-2.3.19, Repoman-2.3.6
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.5.1.ebuild | 40 |
2 files changed, 41 insertions, 0 deletions
diff --git a/dev-ruby/ruby-oci8/Manifest b/dev-ruby/ruby-oci8/Manifest index 6406613edaa0..3de81d9a7962 100644 --- a/dev-ruby/ruby-oci8/Manifest +++ b/dev-ruby/ruby-oci8/Manifest @@ -1 +1,2 @@ DIST ruby-oci8-2.2.4.1.gem 325120 BLAKE2B adb8eb38a1368b0ed305c9173c9e68f60845f454c618ba54b64c95bd6f7d1f9507c38419e5c334cbebca67ce38e7d4edba1dc4778a742147ff512bf32edf4d30 SHA512 54323843ebd3f7252b6d96cd1136752172f879bb6a67842c38e3a84effae18fddb2350be2ed4257c1db5ee54bf7678a098e2b1424508d3e597778e874bcbf20f +DIST ruby-oci8-2.2.5.1.gem 329728 BLAKE2B e235d2b252673962618d8a7840b10c62944407a08bef02a47cbd3fa091fc41404b682d9f89ff42592f16b990ff0e051d0a1b4c87409bbd2429ced488a8e67696 SHA512 e868fae291155f3fdeff2acd948fcf3e56d9dfc5ea9c60e40cc9c742a82fc924999f788b2765088d31fb680c9e192e37e6d12c6dcedd2ed1f6aeef4c8c9bfe7a diff --git a/dev-ruby/ruby-oci8/ruby-oci8-2.2.5.1.ebuild b/dev-ruby/ruby-oci8/ruby-oci8-2.2.5.1.ebuild new file mode 100644 index 000000000000..6d4c7da62af7 --- /dev/null +++ b/dev-ruby/ruby-oci8/ruby-oci8-2.2.5.1.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby22 ruby23 ruby24" + +inherit multilib ruby-fakegem + +RUBY_FAKEGEM_EXTRADOC="NEWS README.md ChangeLog" +RUBY_FAKEGEM_RECIPE_DOC="rdoc" + +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 || die "could not compile native library" +} + +each_ruby_install() { + # install the native libraries + emake -C ${EXT_DIR} install DESTDIR="${D}" || die "could not install native library" + # install the gem files + each_fakegem_install +} |