dev-ruby/ruby-build: new package from https://gpo.zugaina.org/dev-ruby/ruby-build

Signed-off-by: Vitaly Zdanevich <zdanevich.vitaly@ya.ru>
This commit is contained in:
Vitaly Zdanevich
2024-06-15 09:01:57 +04:00
parent 45d0a69032
commit 5b29673e40
2 changed files with 41 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<name>Vitaly Zdanevich</name>
<email>zdanevich.vitaly@ya.ru</email>
</maintainer>
<upstream>
<remote-id type="github">rbenv/rbenv</remote-id>
<bugs-to>https://github.com/rbenv/rbenv/issues</bugs-to>
</upstream>
</pkgmetadata>

View File

@@ -0,0 +1,29 @@
# Copyright 2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit git-r3
DESCRIPTION="Installs virtually any version of Ruby, from source"
HOMEPAGE="https://github.com/rbenv/ruby-build"
LICENSE="MIT"
SLOT=0
EGIT_REPO_URI="https://github.com/rbenv/ruby-build.git"
EGIT_BRANCH=master
src_compile() {
:
}
src_install() {
dobin bin/ruby-build
exeinto /usr/libexec/rbenv
doexe bin/rbenv-install
doexe bin/rbenv-uninstall
insinto /usr/share/ruby-build
doins share/ruby-build/*
doman share/man/man1/*.1
dodoc README.md
}