summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenedikt Boehm <hollow@gentoo.org>2011-07-25 08:38:10 +0000
committerBenedikt Boehm <hollow@gentoo.org>2011-07-25 08:38:10 +0000
commit68a2277336260f78d532101e60af86bf02ea9ab9 (patch)
tree5022d492dd1928542e18e9c4bcf00f46c4bae680 /dev-ruby
parentFixed up last ChangeLog entry (diff)
downloadgentoo-2-68a2277336260f78d532101e60af86bf02ea9ab9.tar.gz
gentoo-2-68a2277336260f78d532101e60af86bf02ea9ab9.tar.bz2
gentoo-2-68a2277336260f78d532101e60af86bf02ea9ab9.zip
initial ebuild. required by app-admin/chef-expander.
(Portage version: 2.2.0_alpha37/cvs/Linux x86_64)
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/dep_selector/ChangeLog10
-rw-r--r--dev-ruby/dep_selector/dep_selector-0.0.8.ebuild32
-rw-r--r--dev-ruby/dep_selector/metadata.xml5
3 files changed, 47 insertions, 0 deletions
diff --git a/dev-ruby/dep_selector/ChangeLog b/dev-ruby/dep_selector/ChangeLog
new file mode 100644
index 000000000000..b26fd42610ef
--- /dev/null
+++ b/dev-ruby/dep_selector/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-ruby/dep_selector
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/dep_selector/ChangeLog,v 1.1 2011/07/25 08:38:10 hollow Exp $
+
+*dep_selector-0.0.8 (25 Jul 2011)
+
+ 25 Jul 2011; Benedikt Böhm <hollow@gentoo.org> +dep_selector-0.0.8.ebuild,
+ +metadata.xml:
+ initial ebuild. required by app-admin/chef-expander.
+
diff --git a/dev-ruby/dep_selector/dep_selector-0.0.8.ebuild b/dev-ruby/dep_selector/dep_selector-0.0.8.ebuild
new file mode 100644
index 000000000000..0f85188e7d46
--- /dev/null
+++ b/dev-ruby/dep_selector/dep_selector-0.0.8.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/dep_selector/dep_selector-0.0.8.ebuild,v 1.1 2011/07/25 08:38:10 hollow Exp $
+
+EAPI="2"
+USE_RUBY="ruby18"
+
+RUBY_FAKEGEM_TASK_DOC=""
+RUBY_FAKEGEM_TASK_TEST=""
+
+inherit ruby-fakegem
+
+DESCRIPTION="constraint based package dependency resolver"
+HOMEPAGE="https://github.com/algorist/dep_selector"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND=">=dev-libs/gecode-3.5.0"
+RDEPEND="${DEPEND}"
+
+each_ruby_configure() {
+ ${RUBY} -Cext/dep_gecode extconf.rb || die "extconf.rb failed"
+}
+
+each_ruby_compile() {
+ emake -Cext/dep_gecode CFLAGS="${CFLAGS} -fPIC" archflag="${LDFLAGS}" || die "make extension failed"
+ cp ext/dep_gecode/dep_gecode$(get_modname) lib/ || die
+ cp ext/dep_gecode/lib/dep_selector_to_gecode.rb lib/ || die
+}
diff --git a/dev-ruby/dep_selector/metadata.xml b/dev-ruby/dep_selector/metadata.xml
new file mode 100644
index 000000000000..0040b1162894
--- /dev/null
+++ b/dev-ruby/dep_selector/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>