diff options
author | Alexey Shvetsov <alexxy@gentoo.org> | 2011-10-06 18:11:13 +0000 |
---|---|---|
committer | Alexey Shvetsov <alexxy@gentoo.org> | 2011-10-06 18:11:13 +0000 |
commit | 9105207da0f7d5c2674846f47a99baf903903d3b (patch) | |
tree | d50899ea0ccfdaee04b35bfc24e0bc89b3d4c12a /kde-base/krossruby | |
parent | Initial import. New dependency for forthcoming Rails 3.1 release. (diff) | |
download | gentoo-2-9105207da0f7d5c2674846f47a99baf903903d3b.tar.gz gentoo-2-9105207da0f7d5c2674846f47a99baf903903d3b.tar.bz2 gentoo-2-9105207da0f7d5c2674846f47a99baf903903d3b.zip |
[kde-base] KDE SC 4.7.2
(Portage version: 2.2.0_alpha61/cvs/Linux x86_64)
Diffstat (limited to 'kde-base/krossruby')
-rw-r--r-- | kde-base/krossruby/ChangeLog | 7 | ||||
-rw-r--r-- | kde-base/krossruby/krossruby-4.7.2.ebuild | 66 |
2 files changed, 72 insertions, 1 deletions
diff --git a/kde-base/krossruby/ChangeLog b/kde-base/krossruby/ChangeLog index 2ea59b1af021..c74ef3dc5ec3 100644 --- a/kde-base/krossruby/ChangeLog +++ b/kde-base/krossruby/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for kde-base/krossruby # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/kde-base/krossruby/ChangeLog,v 1.51 2011/09/07 20:13:53 alexxy Exp $ +# $Header: /var/cvsroot/gentoo-x86/kde-base/krossruby/ChangeLog,v 1.52 2011/10/06 18:10:57 alexxy Exp $ + +*krossruby-4.7.2 (06 Oct 2011) + + 06 Oct 2011; Alexey Shvetsov <alexxy@gentoo.org> +krossruby-4.7.2.ebuild: + Version bump KDE SC 4.7.2 *krossruby-4.7.1 (07 Sep 2011) diff --git a/kde-base/krossruby/krossruby-4.7.2.ebuild b/kde-base/krossruby/krossruby-4.7.2.ebuild new file mode 100644 index 000000000000..8fe1bef13778 --- /dev/null +++ b/kde-base/krossruby/krossruby-4.7.2.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/kde-base/krossruby/krossruby-4.7.2.ebuild,v 1.1 2011/10/06 18:10:57 alexxy Exp $ + +EAPI=4 + +KMNAME="kross-interpreters" +KMMODULE="ruby" +KDE_SCM="git" + +USE_RUBY="ruby18" +# No ruby19 for three reasons: +# 1) it does not build (yet) - will likely be solved soon +# 2) cmake bails when configuring twice or more - solved with CMAKE_IN_SOURCE_BUILD=1 +# 3) 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 ~x86" +IUSE="debug" + +DEPEND="" +RDEPEND="" + +# Split from kdebindings-ruby in 4.7 +add_blocker kdebindings-ruby + +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 +} |