You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
725 B
30 lines
725 B
# Copyright 1999-2021 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=6
|
|
|
|
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
|
|
}
|