summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas K. Hüttel <dilfridge@gentoo.org>2013-11-05 22:23:23 +0000
committerAndreas K. Hüttel <dilfridge@gentoo.org>2013-11-05 22:23:23 +0000
commit3d71d92c727066f449accc1c2b7461faade152ef (patch)
tree76c3626fcc383e0dea8d20c1bf208a6e28044206 /kde-base/krossruby
parentupdated HOMEPAGE to http://www.ugetdm.com (diff)
downloadgentoo-2-3d71d92c727066f449accc1c2b7461faade152ef.tar.gz
gentoo-2-3d71d92c727066f449accc1c2b7461faade152ef.tar.bz2
gentoo-2-3d71d92c727066f449accc1c2b7461faade152ef.zip
Version bump KDE SC 4.11.3
(Portage version: 2.2.7/cvs/Linux x86_64, RepoMan options: --force, signed Manifest commit with key EBE6A336BE19039C!)
Diffstat (limited to 'kde-base/krossruby')
-rw-r--r--kde-base/krossruby/ChangeLog8
-rw-r--r--kde-base/krossruby/krossruby-4.11.3.ebuild61
2 files changed, 68 insertions, 1 deletions
diff --git a/kde-base/krossruby/ChangeLog b/kde-base/krossruby/ChangeLog
index 1b3035aa2044..94af91f1111e 100644
--- a/kde-base/krossruby/ChangeLog
+++ b/kde-base/krossruby/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for kde-base/krossruby
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/kde-base/krossruby/ChangeLog,v 1.140 2013/10/10 01:27:04 creffett Exp $
+# $Header: /var/cvsroot/gentoo-x86/kde-base/krossruby/ChangeLog,v 1.141 2013/11/05 22:22:57 dilfridge Exp $
+
+*krossruby-4.11.3 (05 Nov 2013)
+
+ 05 Nov 2013; Andreas K. Huettel <dilfridge@gentoo.org>
+ +krossruby-4.11.3.ebuild:
+ Version bump KDE SC 4.11.3
10 Oct 2013; Chris Reffett <creffett@gentoo.org> -krossruby-4.11.1.ebuild:
Drop KDE SC 4.11.1
diff --git a/kde-base/krossruby/krossruby-4.11.3.ebuild b/kde-base/krossruby/krossruby-4.11.3.ebuild
new file mode 100644
index 000000000000..753b651a67e0
--- /dev/null
+++ b/kde-base/krossruby/krossruby-4.11.3.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/kde-base/krossruby/krossruby-4.11.3.ebuild,v 1.1 2013/11/05 22:22:57 dilfridge Exp $
+
+EAPI=5
+
+KMNAME="kross-interpreters"
+KMMODULE="ruby"
+
+USE_RUBY="ruby19"
+# Only one ruby version is supported:
+# 1) cmake bails when configuring twice or more - solved with CMAKE_IN_SOURCE_BUILD=1
+# 2) the ebuild can only be installed for one ruby variant, otherwise the compiled
+# files with identical path+name will overwrite each other - difficult :(
+
+inherit kde4-meta ruby-ng
+
+DESCRIPTION="Kross scripting framework: Ruby interpreter"
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="debug"
+
+DEPEND=""
+RDEPEND=""
+
+pkg_setup() {
+ ruby-ng_pkg_setup
+ kde4-meta_pkg_setup
+}
+
+src_unpack() {
+ local S="${WORKDIR}/${P}"
+ kde4-meta_src_unpack
+
+ cd "${WORKDIR}"
+ mkdir all
+ mv ${P} all/ || die "Could not move sources"
+}
+
+all_ruby_prepare() {
+ kde4-meta_src_prepare
+}
+
+each_ruby_configure() {
+ local CMAKE_USE_DIR=${S}
+ local mycmakeargs=(
+ -DRUBY_LIBRARY=$(ruby_get_libruby)
+ -DRUBY_INCLUDE_DIR=$(ruby_get_hdrdir)
+ -DRUBY_EXECUTABLE=${RUBY}
+ )
+ kde4-meta_src_configure
+}
+
+each_ruby_compile() {
+ local CMAKE_USE_DIR=${S}
+ kde4-meta_src_compile
+}
+
+each_ruby_install() {
+ local CMAKE_USE_DIR=${S}
+ kde4-meta_src_install
+}