mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-04-19 04:32:34 +02:00
43 lines
910 B
Plaintext
43 lines
910 B
Plaintext
# Contributor: Thomas Kienlen <kommander@laposte.net>
|
|
# Maintainer: Thomas Kienlen <kommander@laposte.net>
|
|
pkgname=ruby-build
|
|
pkgver=20230428
|
|
pkgrel=0
|
|
pkgdesc="Compile and install Ruby"
|
|
url="https://github.com/rbenv/ruby-build"
|
|
arch="noarch"
|
|
license="MIT"
|
|
depends="
|
|
bash
|
|
"
|
|
subpackages="$pkgname-runtime:runtime"
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/rbenv/ruby-build/archive/v$pkgver.tar.gz"
|
|
options="!check" # No test suite
|
|
install="$pkgname.post-install"
|
|
|
|
package() {
|
|
PREFIX="$pkgdir/usr" ./install.sh
|
|
}
|
|
|
|
runtime() {
|
|
pkgdesc="ruby-build runtime dependencies"
|
|
|
|
depends="
|
|
autoconf
|
|
coreutils
|
|
libffi-dev
|
|
linux-headers
|
|
gdbm-dev
|
|
openssl-dev>3
|
|
readline-dev
|
|
yaml-dev
|
|
zlib-dev
|
|
"
|
|
|
|
mkdir -p "$subpkgdir"
|
|
}
|
|
|
|
sha512sums="
|
|
16e8ba58442c20b78ec9d6b5e4494333594f355fa74685570371e784199eda42e900dd7e7218219c6a920f354d392e0ed905b37c734f22252bb63ac777b7b9df ruby-build-20230428.tar.gz
|
|
"
|