milis/talimatname/genel/ruby/talimat

31 lines
673 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Description: Ruby yorumlayıcı
# URL: http://www.ruby-lang.org
# Packager: milisarge
# Depends on: libffi yaml
name=ruby
version=2.4.1
release=1
source=(http://cache.ruby-lang.org/pub/$name/${version%.*}/$name-$version.tar.xz
gemrc)
build () {
cd $name-$version
PKG_CONFIG=/usr/bin/pkg-config ./configure \
--prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--sharedstatedir=/var/lib \
--libexecdir=/usr/lib/ruby \
--enable-shared \
--disable-rpath \
--disable-install-doc \
--with-dbm-type=gdbm_compat
make
make DESTDIR="${PKG}" install-nodoc
install -D -m644 ${SRC}/gemrc "${PKG}/etc/gemrc"
}