milis/talimatname/genel/r/ruby/talimat

31 lines
673 B
Text
Raw Normal View History

2017-04-14 15:02:08 +03:00
# Description: Ruby yorumlayıcı
# URL: http://www.ruby-lang.org
# Packager: milisarge
2017-06-09 06:32:10 +03:00
# Depends on: libffi yaml
2016-02-24 02:27:23 +02:00
name=ruby
2017-06-09 06:32:10 +03:00
version=2.4.1
2016-02-24 02:27:23 +02:00
release=1
2017-06-09 06:39:02 +03:00
source=(http://cache.ruby-lang.org/pub/$name/${version%.*}/$name-$version.tar.xz
gemrc)
2016-02-24 02:27:23 +02:00
2016-03-12 11:40:17 +02:00
build () {
cd $name-$version
2016-02-24 02:27:23 +02:00
2017-06-09 06:32:10 +03: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 11:40:17 +02:00
make
2017-06-09 06:35:05 +03:00
make DESTDIR="${PKG}" install-nodoc
2016-03-12 11:40:17 +02:00
2017-06-09 06:35:05 +03:00
install -D -m644 ${SRC}/gemrc "${PKG}/etc/gemrc"
2017-06-09 06:32:10 +03:00
}