milis/talimatname/genel/r/ruby/talimat

31 lines
673 B
Plaintext
Raw Normal View History

2017-04-14 14:02:08 +02:00
# Description: Ruby yorumlayıcı
# URL: http://www.ruby-lang.org
# Packager: milisarge
2017-06-09 05:32:10 +02:00
# Depends on: 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
2016-03-12 10:40:17 +01:00
build () {
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
}