summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-eselect/eselect-rails/eselect-rails-0.20.ebuild')
-rw-r--r--app-eselect/eselect-rails/eselect-rails-0.20.ebuild28
1 files changed, 28 insertions, 0 deletions
diff --git a/app-eselect/eselect-rails/eselect-rails-0.20.ebuild b/app-eselect/eselect-rails/eselect-rails-0.20.ebuild
new file mode 100644
index 000000000000..f6af77509f70
--- /dev/null
+++ b/app-eselect/eselect-rails/eselect-rails-0.20.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+DESCRIPTION="Manages Ruby on Rails symlinks"
+HOMEPAGE="http://www.gentoo.org/"
+SRC_URI="http://dev.gentoo.org/~flameeyes/ruby-team/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE=""
+
+RDEPEND=">=app-admin/eselect-1.2.0"
+
+S=${WORKDIR}
+
+src_prepare() {
+ # Fix/Add Prefix support
+ sed -i -e 's/\${ROOT}/${EROOT}/' *.eselect || die
+}
+
+src_install() {
+ insinto /usr/share/eselect/modules
+ doins *.eselect || die "doins failed"
+}