milis/talimatname/genel/r/ruby/talimat

31 lines
655 B
Plaintext
Raw Normal View History

2017-10-27 20:46:27 +02:00
# Tanım: Ruby yorumlayıcı
2017-04-14 14:02:08 +02:00
# URL: http://www.ruby-lang.org
2017-10-27 20:46:27 +02:00
# Paketçi: milisarge
# Gerekler: libffi yaml
2016-02-24 01:27:23 +01:00
2017-10-28 14:10:23 +02:00
isim=ruby
surum=2.4.1
devir=1
kaynak=(http://cache.ruby-lang.org/pub/$isim/${surum%.*}/$isim-$surum.tar.xz
2017-06-09 05:39:02 +02:00
gemrc)
2016-02-24 01:27:23 +01:00
2017-10-27 23:59:41 +02:00
derle() {
2017-10-28 14:10:23 +02:00
cd $isim-$surum
2016-02-24 01:27:23 +01:00
2017-06-09 05:32:10 +02:00
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
2016-03-12 10:40:17 +01:00
make
2017-06-09 05:35:05 +02:00
make DESTDIR="${PKG}" install-nodoc
2016-03-12 10:40:17 +01:00
2017-06-09 05:35:05 +02:00
install -D -m644 ${SRC}/gemrc "${PKG}/etc/gemrc"
2017-06-09 05:32:10 +02:00
}