summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Rüger <mrueg@gentoo.org>2013-11-30 17:29:08 +0000
committerManuel Rüger <mrueg@gentoo.org>2013-11-30 17:29:08 +0000
commitb269170a89641c29c28e0f6ea82bc893d0a49c26 (patch)
treea7ced6a3d99786b9b426d3d43f1058e36a6d51aa /dev-ruby/rb-gsl
parentUnmask multilib packages along with bumping emul-linux-x86-{base,sound}libs. (diff)
downloadhistorical-b269170a89641c29c28e0f6ea82bc893d0a49c26.tar.gz
historical-b269170a89641c29c28e0f6ea82bc893d0a49c26.tar.bz2
historical-b269170a89641c29c28e0f6ea82bc893d0a49c26.zip
Initial ebuild.
Package-Manager: portage-2.2.7/cvs/Linux x86_64
Diffstat (limited to 'dev-ruby/rb-gsl')
-rw-r--r--dev-ruby/rb-gsl/ChangeLog9
-rw-r--r--dev-ruby/rb-gsl/Manifest4
-rw-r--r--dev-ruby/rb-gsl/metadata.xml5
-rw-r--r--dev-ruby/rb-gsl/rb-gsl-1.15.3.ebuild47
4 files changed, 65 insertions, 0 deletions
diff --git a/dev-ruby/rb-gsl/ChangeLog b/dev-ruby/rb-gsl/ChangeLog
new file mode 100644
index 000000000000..f0e9ee84f221
--- /dev/null
+++ b/dev-ruby/rb-gsl/ChangeLog
@@ -0,0 +1,9 @@
+# ChangeLog for dev-ruby/rb-gsl
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rb-gsl/ChangeLog,v 1.1 2013/11/30 17:29:02 mrueg Exp $
+
+*rb-gsl-1.15.3 (30 Nov 2013)
+
+ 30 Nov 2013; Manuel Rüger <mrueg@gentoo.org> +metadata.xml,
+ +rb-gsl-1.15.3.ebuild:
+ Initial ebuild.
diff --git a/dev-ruby/rb-gsl/Manifest b/dev-ruby/rb-gsl/Manifest
new file mode 100644
index 000000000000..5f9f6ebf8727
--- /dev/null
+++ b/dev-ruby/rb-gsl/Manifest
@@ -0,0 +1,4 @@
+DIST rb-gsl-1.15.3.tar.gz 754624 SHA256 964c39286c60f6e594528e7caa0531117d1a21c3e4fd99aafa4d919b790edb4e SHA512 450409d03a032e5ab15cb5e74666cc3bed49b0534eed7fc93a7f7add062beb9f7e64c894856b6dbb9346dc29fe540a0f2deee8132fbce97d57cffd2146d6c3d0 WHIRLPOOL 5cf3b7105344990e5223289baa1e143f6db6e5df3d3e3112211ebaec094d7ad4bb072a94c28c10d95a2fbb9f9c15cb6e701c302a60e81f30b761c2fa8bbd2af2
+EBUILD rb-gsl-1.15.3.ebuild 1194 SHA256 226230e94294578d626f1ba9d350808af3fded811adab5cc7f2331ce989872e9 SHA512 eccb8657386fbed1e8cd423e383a4afabe985b59b2f32fd8fd951cc88540613e515bc8f2f35b3d473e186b04d00e114392ad06b9c0af1c3c215441bc4c54e4ab WHIRLPOOL 2d6f1a40cc1e888a106d0a5456306cefb181411f3939138f5c32eb3292760f4b74561ce3afbde032c87727325baf25299e796a96f0c662730e35a3c424435d08
+MISC ChangeLog 338 SHA256 4a6444617f547b7ba0c9bee8c9739e261d0b4065a544d6b08bfb9f70ac01a641 SHA512 4304b52362d88f6a4a6bee84fb30a9fc660b3a47441506c568681bb203ddff53e634eb34e38351cfce6c34480d8da98eb77678e89b9f59775d99491d15ccd2ae WHIRLPOOL 46719bc68545ed0c2cb9189ee0d5027156dc504e5e60dd20b51eea485deb094ab1c19108aaadd423d04bbc9a6d3a4993450d0cabe48d3a1643c48cd4240e1b69
+MISC metadata.xml 157 SHA256 11fba03a217e2d996f5cd8895493a5692ece8ddac2c1a2dfc71d0e830555121c SHA512 0cec73b966de88015ea4c7212723d848d367608aa93658bb945f298a8000c4ba8aba73c9eb8481859fb5bbed45e80dae32c628caf81e027a4ad8eafa7e632851 WHIRLPOOL 4da25c81e21173ad8b7b5f35b056264869d9a16741062aa4422c5ea1aa9e73da8eb700b0d54de84c169d702fbb3f41ed157c9dc7c9daac110849ae84715c051b
diff --git a/dev-ruby/rb-gsl/metadata.xml b/dev-ruby/rb-gsl/metadata.xml
new file mode 100644
index 000000000000..852136183369
--- /dev/null
+++ b/dev-ruby/rb-gsl/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>ruby</herd>
+</pkgmetadata>
diff --git a/dev-ruby/rb-gsl/rb-gsl-1.15.3.ebuild b/dev-ruby/rb-gsl/rb-gsl-1.15.3.ebuild
new file mode 100644
index 000000000000..de45cc3c30c2
--- /dev/null
+++ b/dev-ruby/rb-gsl/rb-gsl-1.15.3.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rb-gsl/rb-gsl-1.15.3.ebuild,v 1.1 2013/11/30 17:29:02 mrueg Exp $
+
+EAPI=5
+USE_RUBY="ruby19 ruby20"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Ruby interface to GNU Scientific Library"
+HOMEPAGE="http://rb-gsl.rubyforge.org/ https://github.com/david-macmahon/rb-gsl"
+SRC_URI="https://github.com/david-macmahon/${PN}/archive/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="doc"
+
+DEPEND+=" sci-libs/gsl"
+RDEPEND+=" sci-libs/gsl"
+
+RUBY_S="${PN}-${P}"
+
+each_ruby_prepare() {
+ sed -e \
+ "/ruby -w -I/ s:#\truby -w *:${RUBY} -w -I ../../lib -I ../../ext -I . :" \
+ -e "/ruby -w \`basename/ s/^/# /" -i tests/run-test.sh || die
+ sed -i '/$CPPFLAGS =/a \$LDFLAGS = " -L#{narray_config} -l:narray.so "+$LDFLAGS' ext/extconf.rb || die
+ sed -i -e 's/qactual/actual/' tests/linalg/TDN.rb || die
+}
+
+each_ruby_configure() {
+ ${RUBY} setup.rb config || die
+}
+
+each_ruby_compile() {
+ ${RUBY} setup.rb setup || die
+}
+
+each_ruby_install() {
+ ${RUBY} setup.rb install --prefix="${D}" || die
+}
+
+each_ruby_test() {
+ cd tests || die
+ ./run-test.sh || die
+}