summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-eselect/eselect-rails/eselect-rails-0.25.ebuild')
-rw-r--r--app-eselect/eselect-rails/eselect-rails-0.25.ebuild29
1 files changed, 29 insertions, 0 deletions
diff --git a/app-eselect/eselect-rails/eselect-rails-0.25.ebuild b/app-eselect/eselect-rails/eselect-rails-0.25.ebuild
new file mode 100644
index 00000000000..c11df45c9cc
--- /dev/null
+++ b/app-eselect/eselect-rails/eselect-rails-0.25.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="Manages Ruby on Rails symlinks"
+HOMEPAGE="https://gitweb.gentoo.org/proj/ruby-scripts.git/tree/eselect-rails"
+SRC_URI="https://dev.gentoo.org/~graaff/ruby-team/${P}.tar.xz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE=""
+
+RDEPEND=">=app-admin/eselect-1.2.0"
+
+S=${WORKDIR}
+
+src_prepare() {
+ default
+
+ # Fix/Add Prefix support
+ sed -i -e 's/\${ROOT}/${EROOT}/' *.eselect || die
+}
+
+src_install() {
+ insinto /usr/share/eselect/modules
+ doins *.eselect
+}