diff options
author | Hans de Graaff <graaff@gentoo.org> | 2015-12-20 20:28:01 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2015-12-20 20:28:01 +0100 |
commit | 98eda43afbda2a91e1b865eb87627a385f6fa578 (patch) | |
tree | e36ef29be43aa0cc0bd7f56eb1b1aec20b37fb81 /dev-ruby/ruby-oci8 | |
parent | ce8bcd141aa1c85a250695e8f9302a8500db0904 (diff) | |
download | gentoo-98eda43afbda2a91e1b865eb87627a385f6fa578.tar.gz gentoo-98eda43afbda2a91e1b865eb87627a385f6fa578.tar.xz |
dev-ruby/ruby-oci8: add 2.2.1
Untested bump due to lack of Oracle libraries.
Package-Manager: portage-2.2.24
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.1.ebuild | 41 |
2 files changed, 42 insertions, 0 deletions
diff --git a/dev-ruby/ruby-oci8/Manifest b/dev-ruby/ruby-oci8/Manifest index 666cd81fb34..9e0403f8565 100644 --- a/dev-ruby/ruby-oci8/Manifest +++ b/dev-ruby/ruby-oci8/Manifest @@ -1,2 +1,3 @@ DIST ruby-oci8-2.1.7.gem 231424 SHA256 6970edbed87a3f62db99a73f1584e615c572eb5818a9506161fbaff4e623c8c8 SHA512 7d08cba20c6fd1537e140c92cc5a6c7b169d1feb1a6c07a66c5569a6adf456943135935d47ded6cbf0c4a783d14d7877bb827e375c17a3b92dd5db0df8433d37 WHIRLPOOL 16228efb3057aebd82825c848dddef027f91f408f51d68d6d24f904eaedb49275b4969b78f190a0755ee531f0821ae8ece0ce845ad159a6d2b842a32b0d8c11b DIST ruby-oci8-2.1.8.gem 249856 SHA256 f5ab06e0312849b181e0b5e471f73b3070b9317ba289875f7ed44ee963b48f50 SHA512 897e5b86106b45e12bf359b8ed379a36a1c457daa1de9e7a8431f409ec25b12b20e30ed254a2bc77ab1abc0731f1c45e93860a36e0e6903c6fc7573a9ceeef9e WHIRLPOOL 7628ff11626619a82c02792d97ff66a2349af289d92fb52f928ff11c328a17dc8d1e02b16473028d0473f62d05617f07c30814030b32eb9908e52d49f4c259db +DIST ruby-oci8-2.2.1.gem 308736 SHA256 415bf668212a18e7edce6b424f71c6ae18c78357124d372d645c03c12ca10d87 SHA512 e44aa8819b47dfeefe8cfb78094484ef78973ccfa4f026fae6e3363dda8152e9348c108797c8a19dcdc3bdab288651e63e74333c733b96b7ad9f2003d21709af WHIRLPOOL 7c993ca70d55976268f8cb2795331eadfe54c17d85ddc39bcb4dd1d69dead168c6ba7705a7f62c300a5cdd2de27645561b8c874891bea3082862fd4e6d754713 diff --git a/dev-ruby/ruby-oci8/ruby-oci8-2.2.1.ebuild b/dev-ruby/ruby-oci8/ruby-oci8-2.2.1.ebuild new file mode 100644 index 00000000000..bf9bfefa0db --- /dev/null +++ b/dev-ruby/ruby-oci8/ruby-oci8-2.2.1.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +USE_RUBY="ruby19 ruby20 ruby21 ruby22" + +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 +} |