ruby.guncellendi

This commit is contained in:
milisarge 2017-06-09 06:32:10 +03:00
parent 7c1a806ace
commit 98b627c8c9
3 changed files with 25 additions and 13 deletions

View File

@ -0,0 +1,5 @@
# Read about the gemrc format at http://guides.rubygems.org/command-reference/#gem-environment
# --user-install is used to install to $HOME/.gem/ by default since we want to separate
# pacman installed gems and gem installed gems
gem: --user-install

View File

@ -1,22 +1,29 @@
# Description: Ruby yorumlayıcı
# URL: http://www.ruby-lang.org
# Packager: milisarge
# Depends on: doxygen
# Depends on: libffi yaml
name=ruby
version=2.3.0
version=2.4.1
release=1
source=(http://cache.ruby-lang.org/pub/$name/${version%.*}/$name-$version.tar.xz)
build () {
cd $name-$version
./configure --prefix=/usr \
--enable-shared \
--disable-install-doc \
--with-ruby-version=minor
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
}
make DESTDIR="${pkgdir}" install-nodoc
install -D -m644 ${srcdir}/gemrc "${pkgdir}/etc/gemrc"
}

View File

@ -4,12 +4,12 @@
# Depends on: doxygen
name=yaml
version=0.1.6
version=0.1.7
release=1
source=(http://pyyaml.org/download/libyaml/yaml-$version.tar.gz)
build() {
cd yaml-$version
./configure --prefix=/usr --disable-static
make DESTDIR=$PKG install
cd yaml-$version
./configure --prefix=/usr --disable-static
make DESTDIR=$PKG install
}