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.
Package-Manager: portage-2.2.20.1
- Loading branch information
Showing
2 changed files
with
46 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 bson-3.0.4.tar.gz 49517 SHA256 10a34e681804abfde9a2c047d9fa4554e40aef28f0a7114b88f7324215041de4 SHA512 8a57ff6706af44ef22841fdd33cd8c9d2ea4fd94dfde9f4fe94fdb08d95d3249b96939866459294c8258d99f37ff3e0ab8ac16b53fad1db6ddb26506135a4008 WHIRLPOOL 07f81925049e23c5f8f75e08b3eb4594e0df4a890bc864674d19a3a291eca8a58f121b3d045d14c44f454753dc3d0be425ff140d3d0eb72bc2cd8a61734d08d8 | ||
DIST bson-3.2.0.tar.gz 50495 SHA256 a452bf4f77548697f36659413fa2c106e592d29b8259c285262a1db5c1ffae06 SHA512 258cd31e390cafb12b93d326686e2a08e55da44b458a68cbf5ce8ebc51a477844934a346a77914a9baf1004ca465b45d7399e7daab74b2b9e7389b7c23cbf777 WHIRLPOOL d8c192343dcabbf162d16dd4f19612ddeb43cdabe8e13559014db2ca2d7dda2c5df759631fba7f0f4ed7b5e2d76e7327dc4a46d695a792afbc84aaaf8f6b4489 | ||
DIST bson-3.2.1.tar.gz 50640 SHA256 8e81a04bd433bd82fd558b1ef58b35a53448eb6dc9c85a808238b0d21dfa71d4 SHA512 c5565965615036608b87895d40d62b42193eb7ba31f168051222595f9095627157606ba8ba7966ed349ec05005645320ce10cc510e1fa47368f907368734fb0a WHIRLPOOL 1e1007132aeb99655f1af49de0696ba104d1ac9d63c09b3136e5e523318acb36c568fe813ecbd663212a109bd94486fda1074f12fd18b3336e600b239252a4e4 | ||
DIST mongo-ruby-driver-1.12.0.tar.gz 360669 SHA256 84c87d26601c9bd91a6604bcb3630be50d239e471542f9b0a68379705dd03e11 SHA512 725110c527867379def85fde50b6825e94a320356f062e4403d9d55c223f2503676f83ae42916d6ab45afd90d30b2a4272519e070c4af2095c0965297fd72bb6 WHIRLPOOL c152aa579a0535707909560cc73fc878521aac95c034ec71bca6c2397754b5e057c1e7ca32f6b2b3393ce975f122e65926820cdde29aa5f5734fb9717bd980e0 |
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,45 @@ | ||
# 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" | ||
|
||
RUBY_FAKEGEM_RECIPE_TEST="rspec" | ||
|
||
RUBY_FAKEGEM_RECIPE_DOC="rdoc" | ||
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" | ||
|
||
RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" | ||
|
||
GITHUB_USER="mongodb" | ||
GITHUB_PROJECT="bson-ruby" | ||
|
||
inherit multilib ruby-fakegem | ||
|
||
DESCRIPTION="A Ruby BSON implementation for MongoDB. (Includes binary C-based extension.)" | ||
HOMEPAGE="http://www.mongodb.org/" | ||
SRC_URI="https://github.com/${GITHUB_USER}/${GITHUB_PROJECT}/archive/v${PV}.tar.gz -> ${P}.tar.gz" | ||
RUBY_S="bson-ruby-${PV}" | ||
|
||
LICENSE="APSL-2" | ||
SLOT="3" | ||
KEYWORDS="~amd64" | ||
IUSE="test doc" | ||
|
||
all_ruby_prepare() { | ||
# Remove bundler support | ||
sed -i -e '/bundler/I s:^:#:' Rakefile || die | ||
|
||
# Remove project-specific rspec options | ||
rm .rspec || die | ||
} | ||
|
||
each_ruby_configure() { | ||
${RUBY} -C ext/bson extconf.rb || die "extconf.rb failed" | ||
} | ||
|
||
each_ruby_compile() { | ||
emake -C ext/bson V=1 CFLAGS="${CFLAGS} -fPIC" archflag="${LDFLAGS}" | ||
cp ext/bson/*$(get_modname) lib/ || die | ||
} |