mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-08 10:12:59 +01:00
49 lines
992 B
Plaintext
49 lines
992 B
Plaintext
# Contributor: Thomas Kienlen <kommander@laposte.net>
|
|
# Maintainer: Thomas Kienlen <kommander@laposte.net>
|
|
pkgname=ruby-build
|
|
pkgver=20250925
|
|
pkgrel=0
|
|
pkgdesc="Compile and install Ruby"
|
|
url="https://github.com/rbenv/ruby-build"
|
|
arch="noarch"
|
|
license="MIT"
|
|
depends="
|
|
bash
|
|
"
|
|
subpackages="
|
|
$pkgname-doc
|
|
$pkgname-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
|
|
|
|
install -Dvm644 LICENSE \
|
|
-t "$pkgdir"/usr/share/licenses/$pkgname/
|
|
}
|
|
|
|
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="
|
|
98142d6bc902022bcb34bd37da200b9cb0cbc8982b41106db76844b1ce1528313716bcf8fd6b1b771900bc7ec6dd8a99a1b662140bdc171cd41d7b2b5bb047a4 ruby-build-20250925.tar.gz
|
|
"
|