mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-23 03:05:48 +03:00
42 lines
910 B
Text
42 lines
910 B
Text
# Contributor: Thomas Kienlen <kommander@laposte.net>
|
|
# Maintainer: Thomas Kienlen <kommander@laposte.net>
|
|
pkgname=ruby-build
|
|
pkgver=20230222
|
|
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="
|
|
83a5ffc7ee7dfbce1d41ddd72d53f654efdae70c70a84510c03a38ec1628835b449397f13256a98559736e16f31d416b841cf06cc6dbb9c06b938942bd026c16 ruby-build-20230222.tar.gz
|
|
"
|