Skip to content

Commit

Permalink
Updates to all ebuilds, including 0.1.3, 0.1.4 and "edge" (git) versi…
Browse files Browse the repository at this point in the history
…ons.
  • Loading branch information
Pistos committed Feb 3, 2010
1 parent 86a5ec1 commit b75826c
Show file tree
Hide file tree
Showing 5 changed files with 218 additions and 173 deletions.
173 changes: 0 additions & 173 deletions ebuilds/rvm-0.1.0.ebuild

This file was deleted.

50 changes: 50 additions & 0 deletions pkg/gentoo/rvm-0.1.1.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI=2

inherit eutils

DESCRIPTION="RVM facilitates easy installation and management of multiple Ruby environments and sets of gems"
HOMEPAGE="http://rvm.beginrescueend.com/"

# This should be the first 7 characters of the tagged version's commit.
VERSION_SHORT_SHA1="9bcfd07"

SRC_URI="http://github.com/wayneeseguin/rvm/tarball/${PV} -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~x86"
IUSE=""

S="${WORKDIR}/wayneeseguin-rvm-${VERSION_SHORT_SHA1}"
RVM_DIR="/opt/rvm"

src_install() {
export rvm_path="${D}${RVM_DIR}"
export rvm_symlink_path="${D}/usr/bin"
./install || die "Installation failed."

echo "rvm_path=${RVM_DIR}" > "${T}"/rvmrc
insinto /etc
doins "${T}"/rvmrc || die "Failed to install /etc/rvmrc."
elog "A default /etc/rvmrc has been installed. Feel free to modify it."
elog

echo 'unset RUBY_VERSION' > "${T}"/system
echo 'unset GEM_HOME' >> "${T}"/system
echo 'unset GEM_PATH' >> "${T}"/system
echo 'unset MY_RUBY_HOME' >> "${T}"/system
insinto ${RVM_DIR}/config
doins "${T}"/system || die "Failed to install ${RVM_DIR}/config/system."
elog "You may also wish to review ${RVM_DIR}/config/system ."
elog

elog "To use rvm as the root user, add the following line at the end of root's shell's"
elog "loading files (.bashrc and then .bash_profile for bash; or .zshrc for zsh), after"
elog "all path/variable settings:"
elog
elog " if [[ -s $RVM_DIR/scripts/rvm ]] ; then source $RVM_DIR/scripts/rvm ; fi"

}
50 changes: 50 additions & 0 deletions pkg/gentoo/rvm-0.1.3.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI=2

inherit eutils

DESCRIPTION="RVM facilitates easy installation and management of multiple Ruby environments and sets of gems"
HOMEPAGE="http://rvm.beginrescueend.com/"

# This should be the first 7 characters of the tagged version's commit.
VERSION_SHORT_SHA1="2851097"

SRC_URI="http://github.com/wayneeseguin/rvm/tarball/${PV} -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~x86"
IUSE=""

S="${WORKDIR}/wayneeseguin-rvm-${VERSION_SHORT_SHA1}"
RVM_DIR="/opt/rvm"

src_install() {
export rvm_path="${D}${RVM_DIR}"
export rvm_symlink_path="${D}/usr/bin"
./install || die "Installation failed."

echo "rvm_path=${RVM_DIR}" > "${T}"/rvmrc
insinto /etc
doins "${T}"/rvmrc || die "Failed to install /etc/rvmrc."
elog "A default /etc/rvmrc has been installed. Feel free to modify it."
elog

echo 'unset RUBY_VERSION' > "${T}"/system
echo 'unset GEM_HOME' >> "${T}"/system
echo 'unset GEM_PATH' >> "${T}"/system
echo 'unset MY_RUBY_HOME' >> "${T}"/system
insinto ${RVM_DIR}/config
doins "${T}"/system || die "Failed to install ${RVM_DIR}/config/system."
elog "You may also wish to review ${RVM_DIR}/config/system ."
elog

elog "Before any user (including root) can use rvm, the following line must be appended"
elog "to the end of the user's shell's loading files (.bashrc and then .bash_profile"
elog "for bash; or .zshrc for zsh), after all path/variable settings:"
elog
elog " if [[ -s $RVM_DIR/scripts/rvm ]] ; then source $RVM_DIR/scripts/rvm ; fi"

}
61 changes: 61 additions & 0 deletions pkg/gentoo/rvm-0.1.4.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI=2

inherit eutils

DESCRIPTION="RVM facilitates easy installation and management of multiple Ruby environments and sets of gems"
HOMEPAGE="http://rvm.beginrescueend.com/"

# This should be the first 7 characters of the tagged version's commit.
VERSION_SHORT_SHA1="b0ed730"

SRC_URI="http://github.com/wayneeseguin/rvm/tarball/${PV} -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~x86"
IUSE="mono java"

RDEPEND="net-misc/curl
sys-devel/patch
java? (
dev-java/sun-jdk
dev-java/sun-jre-bin
)
mono? ( dev-lang/mono )"

S="${WORKDIR}/wayneeseguin-rvm-${VERSION_SHORT_SHA1}"
RVM_DIR="/opt/rvm"

src_install() {
for v in `env | egrep '^rvm_' | cut -d '=' -f 1`; do
unset $v
done
export rvm_path="${D}${RVM_DIR}"
export rvm_symlink_path="${D}/usr/bin"
./install || die "Installation failed."

echo "rvm_path=${RVM_DIR}" > "${T}"/rvmrc
insinto /etc
doins "${T}"/rvmrc || die "Failed to install /etc/rvmrc."
elog "A default /etc/rvmrc has been installed. Feel free to modify it."
elog

echo 'unset RUBY_VERSION' > "${T}"/system
echo 'unset GEM_HOME' >> "${T}"/system
echo 'unset GEM_PATH' >> "${T}"/system
echo 'unset MY_RUBY_HOME' >> "${T}"/system
insinto ${RVM_DIR}/config
doins "${T}"/system || die "Failed to install ${RVM_DIR}/config/system."
elog "You may also wish to review ${RVM_DIR}/config/system ."
elog

elog "Before any user (including root) can use rvm, the following line must be appended"
elog "to the end of the user's shell's loading files (.bashrc and then .bash_profile"
elog "for bash; or .zshrc for zsh), after all path/variable settings:"
elog
elog " if [[ -s $RVM_DIR/scripts/rvm ]] ; then source $RVM_DIR/scripts/rvm ; fi"

}
57 changes: 57 additions & 0 deletions pkg/gentoo/rvm-99999.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit git

EGIT_REPO_URI="git://github.com/wayneeseguin/rvm.git"

DESCRIPTION="RVM facilitates easy installation and management of multiple Ruby environments and sets of gems"
HOMEPAGE="http://rvm.beginrescueend.com/"

SRC_URI=""
LICENSE="MIT"
SLOT="0"
KEYWORDS="~x86"
IUSE="mono java"

RDEPEND="net-misc/curl
sys-devel/patch
java? (
dev-java/sun-jdk
dev-java/sun-jre-bin
)
mono? ( dev-lang/mono )"

RVM_DIR="/opt/rvm"

src_install() {
for v in `env | egrep '^rvm_' | cut -d '=' -f 1`; do
unset $v
done
export rvm_path="${D}${RVM_DIR}"
export rvm_symlink_path="${D}/usr/bin"

./install || die "Installation failed."

echo "rvm_path=${RVM_DIR}" > "${T}"/rvmrc
insinto /etc
doins "${T}"/rvmrc || die "Failed to install /etc/rvmrc."
elog "A default /etc/rvmrc has been installed. Feel free to modify it."
elog

echo 'unset RUBY_VERSION' > "${T}"/system
echo 'unset GEM_HOME' >> "${T}"/system
echo 'unset GEM_PATH' >> "${T}"/system
echo 'unset MY_RUBY_HOME' >> "${T}"/system
insinto ${RVM_DIR}/config
doins "${T}"/system || die "Failed to install ${RVM_DIR}/config/system."
elog "You may also wish to review ${RVM_DIR}/config/system ."
elog

elog "Before any user (including root) can use rvm, the following line must be appended"
elog "to the end of the user's shell's loading files (.bashrc and then .bash_profile"
elog "for bash; or .zshrc for zsh), after all path/variable settings:"
elog
elog " if [[ -s $RVM_DIR/scripts/rvm ]] ; then source $RVM_DIR/scripts/rvm ; fi"
}

0 comments on commit b75826c

Please sign in to comment.