mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-11 14:26:38 +02:00
48 lines
992 B
Text
48 lines
992 B
Text
# Contributor: Thomas Kienlen <kommander@laposte.net>
|
|
# Maintainer: Thomas Kienlen <kommander@laposte.net>
|
|
pkgname=ruby-build
|
|
pkgver=20250215
|
|
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="
|
|
29dd892940ec6d154de260bf11e9425af463e609c05d26a28dbdd5fee121b3367655ee5298be979bb9c4c56c2f2d9a8e98be178807555006ea0a294012e8e097 ruby-build-20250215.tar.gz
|
|
"
|