ruby: update to 2.4.0.

Adopted.
This commit is contained in:
Leah Neukirchen 2017-02-05 21:57:19 +01:00
parent 279e6b812a
commit cee2514ffe
2 changed files with 7 additions and 8 deletions

View File

@ -470,7 +470,7 @@ libSDL_ttf-2.0.so.0 SDL_ttf-2.0.9_1
libparted.so.2 libparted-3.1_1
libparted-fs-resize.so.0 libparted-3.1_1
libntfs-3g.so.87 ntfs-3g-2016.2.22_1
libruby.so.2.3 ruby-2.3.0_1
libruby.so.2.4 ruby-2.4.0_1
libxenctrl.so.4.7 xen-libs-4.7_1
libxenguest.so.4.7 xen-libs-4.7_1
libxlutil.so.4.7 xen-libs-4.7_1

View File

@ -1,8 +1,8 @@
# Template build file for 'ruby'.
_ruby_abiver=2.3.0
_ruby_abiver=2.4.0
pkgname=ruby
version=2.3.3
version=2.4.0
revision=1
build_style=gnu-configure
configure_args="--enable-shared --disable-rpath
@ -10,10 +10,10 @@ configure_args="--enable-shared --disable-rpath
make_build_args="all capi"
short_desc="Ruby programming language"
homepage="http://www.ruby-lang.org/en/"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="BSD"
distfiles="ftp://ftp.ruby-lang.org/pub/ruby/${version%.*}/${pkgname}-${version}.tar.bz2"
checksum=882e6146ed26c6e78c02342835f5d46b86de95f0dc4e16543294bc656594cc5b
checksum=440bbbdc49d08d3650f340dccb35986d9399177ad69a204def56e5d3954600cf
hostmakedepends="pkg-config bison groff doxygen graphviz"
makedepends="zlib-devel readline-devel libffi-devel libressl-devel
@ -40,8 +40,8 @@ post_install() {
# Remove references to hardening -specs.
sed -e "s|\(-specs=.*hardened-ld\)||g" -e "s|\(-specs=.*hardened-cc1\)||g" -i \
${DESTDIR}/usr/lib/ruby/${_ruby_abiver}/*/rbconfig.rb
vlicense COPYING
}
ruby-devel-doc_package() {
short_desc+=" - HTML C API documentation files"
noarch=yes
@ -50,11 +50,10 @@ ruby-devel-doc_package() {
}
}
ruby-devel_package() {
depends="ruby-${version}_${revision}"
depends="ruby-${version}_${revision} gmp-devel"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
vmove usr/lib/ruby/${_ruby_abiver}/mkmf.rb
vmove usr/lib/pkgconfig
}