ruby.guncellendi
This commit is contained in:
parent
7c1a806ace
commit
98b627c8c9
|
@ -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
|
|
@ -1,22 +1,29 @@
|
||||||
# Description: Ruby yorumlayıcı
|
# Description: Ruby yorumlayıcı
|
||||||
# URL: http://www.ruby-lang.org
|
# URL: http://www.ruby-lang.org
|
||||||
# Packager: milisarge
|
# Packager: milisarge
|
||||||
# Depends on: doxygen
|
# Depends on: libffi yaml
|
||||||
|
|
||||||
name=ruby
|
name=ruby
|
||||||
version=2.3.0
|
version=2.4.1
|
||||||
release=1
|
release=1
|
||||||
source=(http://cache.ruby-lang.org/pub/$name/${version%.*}/$name-$version.tar.xz)
|
source=(http://cache.ruby-lang.org/pub/$name/${version%.*}/$name-$version.tar.xz)
|
||||||
|
|
||||||
build () {
|
build () {
|
||||||
cd $name-$version
|
cd $name-$version
|
||||||
|
|
||||||
./configure --prefix=/usr \
|
PKG_CONFIG=/usr/bin/pkg-config ./configure \
|
||||||
--enable-shared \
|
--prefix=/usr \
|
||||||
--disable-install-doc \
|
--sysconfdir=/etc \
|
||||||
--with-ruby-version=minor
|
--localstatedir=/var \
|
||||||
|
--sharedstatedir=/var/lib \
|
||||||
|
--libexecdir=/usr/lib/ruby \
|
||||||
|
--enable-shared \
|
||||||
|
--disable-rpath \
|
||||||
|
--disable-install-doc \
|
||||||
|
--with-dbm-type=gdbm_compat
|
||||||
|
|
||||||
make
|
make
|
||||||
make DESTDIR=$PKG install
|
make DESTDIR="${pkgdir}" install-nodoc
|
||||||
}
|
|
||||||
|
|
||||||
|
install -D -m644 ${srcdir}/gemrc "${pkgdir}/etc/gemrc"
|
||||||
|
}
|
||||||
|
|
|
@ -4,12 +4,12 @@
|
||||||
# Depends on: doxygen
|
# Depends on: doxygen
|
||||||
|
|
||||||
name=yaml
|
name=yaml
|
||||||
version=0.1.6
|
version=0.1.7
|
||||||
release=1
|
release=1
|
||||||
source=(http://pyyaml.org/download/libyaml/yaml-$version.tar.gz)
|
source=(http://pyyaml.org/download/libyaml/yaml-$version.tar.gz)
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd yaml-$version
|
cd yaml-$version
|
||||||
./configure --prefix=/usr --disable-static
|
./configure --prefix=/usr --disable-static
|
||||||
make DESTDIR=$PKG install
|
make DESTDIR=$PKG install
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue