2018-06-09 00:06:58 +02:00
|
|
|
|
# Tanım: Ruby yorumlayıcı
|
|
|
|
|
# URL: http://www.ruby-lang.org
|
|
|
|
|
# Paketçi: milisarge
|
|
|
|
|
# Gerekler: libffi yaml
|
2018-07-30 13:37:18 +02:00
|
|
|
|
# Grup: geliştirme
|
2018-06-09 00:06:58 +02:00
|
|
|
|
|
|
|
|
|
isim=ruby
|
|
|
|
|
surum=2.4.1
|
|
|
|
|
devir=1
|
|
|
|
|
kaynak=(http://cache.ruby-lang.org/pub/$isim/${surum%.*}/$isim-$surum.tar.xz
|
|
|
|
|
gemrc)
|
|
|
|
|
|
|
|
|
|
derle() {
|
|
|
|
|
cd $isim-$surum
|
|
|
|
|
|
|
|
|
|
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"
|
|
|
|
|
}
|