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
|
|
|
|
|
|
|
|
|
name=ruby
|
2017-06-09 05:32:10 +02:00
|
|
|
|
version=2.4.1
|
2016-02-24 01:27:23 +01:00
|
|
|
|
release=1
|
2017-06-09 05:39:02 +02:00
|
|
|
|
source=(http://cache.ruby-lang.org/pub/$name/${version%.*}/$name-$version.tar.xz
|
|
|
|
|
gemrc)
|
2016-02-24 01:27:23 +01:00
|
|
|
|
|
2017-10-27 23:59:41 +02:00
|
|
|
|
derle() {
|
2016-03-12 10:40:17 +01:00
|
|
|
|
cd $name-$version
|
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
|
|
|
|
}
|