Commit 87386c0c authored by John Johnson's avatar John Johnson

dev-ruby/ruby-install: v0.7.0; prefix

Newer version upstream
Patched target location to use correct FHS/Gentoo policy path
parent a3050c31
DIST ruby-install-0.6.1.tar.gz 27203 SHA256 b3adf199f8cd8f8d4a6176ab605db9ddd8521df8dbb2212f58f7b8273ed85e73 SHA512 30c421b0d67fbcba3b989399cadbe43b5373ef77f548ef4b9692fd2f8fe6bf653d036e485636ba73512f2f3529bafde377109b8b705647f40f275888290fc2f7 WHIRLPOOL e6e0041ef3da26b9fe2d25accc1e1a8279806c134e5eecbb7b2cb3636ecb7731a344428748fc483c5353335821e08f550720770e79942d69962258df2fa7c0da
DIST ruby-install-0.7.0.tar.gz 28533 SHA256 500a8ac84b8f65455958a02bcefd1ed4bfcaeaa2bb97b8f31e61ded5cd0fd70b SHA512 c52cafb1f9015d169c834a720451ae2fdf6e4ead1852e439521b1bd7fc90a21b21504a0561d040628216865e54587d48137d86b0a86a0da12fb9f873f53ab1ef WHIRLPOOL daeb7ce0688961daa9e52d6b55033bcad473a0aadab1c530f906d95f7ae3b1a545e4d9e7dba31183a6e0eb9cb7d040146964f256b67365d82be6628a42d705e3
diff --git a/Makefile b/Makefile
index 8378d7c..0e90adb 100644
--- a/Makefile
+++ b/Makefile
@@ -14,7 +14,7 @@ PKG_NAME=$(NAME)-$(VERSION)
PKG=$(PKG_DIR)/$(PKG_NAME).tar.gz
SIG=$(PKG_DIR)/$(PKG_NAME).asc
-PREFIX?=/usr/local
+PREFIX?=/usr
SHARE_DIR=$(PREFIX)/share
DOC_DIR=$(SHARE_DIR)/doc/$(PKG_NAME)
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=7
DESCRIPTION="Installs [Ruby], [JRuby], [Rubinius], [MagLev] or [mruby]."
HOMEPAGE="https://github.com/postmodern/ruby-install"
SRC_URI="https://github.com/postmodern/ruby-install/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
PATCHES=(
"${FILESDIR}/${PN}-prefix.patch"
)
DEPEND="( app-shells/bash )
|| ( >=sys-devel/gcc-4.2 sys-devel/clang )
|| ( >=net-misc/wget-1.12 net-misc/curl )"
RDEPEND="${DEPEND}"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment