forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dev-ruby/ruby-oci8: add untested 2.2.2
Package-Manager: portage-2.2.28
- Loading branch information
Showing
2 changed files
with
42 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
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 | ||
DIST ruby-oci8-2.2.2.gem 316416 SHA256 0e29e3a188595786bf587c6be4301e589a78878d7316c1df6743e5986bf63803 SHA512 09ac6113dac40bb99b49b261216682a496cb6d8afef93f7e16b4a5836df2764c353fbca0f5e9a06cbb9c63262290f842fc5d7a51316c26c5638b6e93e9c055f7 WHIRLPOOL 73bf0f7ec132512124fd0bc2a9eacb63c52106587e6061ceb326b05acebde08581ddb6d7de000477c5d9066ca1eb95a619867b1b628edb16679de2b5dc58caaf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
# Copyright 1999-2016 Gentoo Foundation | ||
# Distributed under the terms of the GNU General Public License v2 | ||
# $Id$ | ||
|
||
EAPI=5 | ||
USE_RUBY="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 | ||
} |