wok-next diff ruby/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents efc1e4b02968
children e19ff076dc63
line diff
     1.1 --- a/ruby/receipt	Sat Aug 18 16:19:00 2018 +0300
     1.2 +++ b/ruby/receipt	Fri Nov 02 14:15:08 2018 +0200
     1.3 @@ -4,7 +4,7 @@
     1.4  VERSION="2.5.1"
     1.5  CATEGORY="development"
     1.6  SHORT_DESC="Dynamic programming language focused on simplicity and productivity"
     1.7 -MAINTAINER="pankso@slitaz.org"
     1.8 +MAINTAINER="devel@slitaz.org"
     1.9  LICENSE="GPL2"
    1.10  WEB_SITE="https://www.ruby-lang.org/en/"
    1.11  LFS="http://www.linuxfromscratch.org/blfs/view/svn/general/ruby.html"
    1.12 @@ -12,29 +12,19 @@
    1.13  TARBALL="$PACKAGE-$VERSION.tar.xz"
    1.14  WGET_URL="http://cache.ruby-lang.org/pub/ruby/${VERSION%.*}/$TARBALL"
    1.15  
    1.16 -BUILD_DEPENDS_arm="zlib-dev tcl-dev openssl-dev db-dev readline-dev"
    1.17  BUILD_DEPENDS="gmp-dev db-dev libffi-dev openssl-dev tcl-dev tk-dev zlib-dev \
    1.18  gdbm-dev readline-dev"
    1.19 -SPLIT="ruby libruby ruby-stdlib ruby-dev"
    1.20 +SPLIT="libruby $PACKAGE-stdlib $PACKAGE-dev"
    1.21  
    1.22  compile_rules() {
    1.23 -	case "$ARCH" in
    1.24 -		arm*)
    1.25 -			# executable host ruby is required. use --with-baseruby option.
    1.26 -			# --with-arch=arm
    1.27 -			export ac_cv_func_getpgrp_void=yes
    1.28 -			export ac_cv_func_setpgrp_void=yes
    1.29 -			ARCH_ARGS="--with-baseruby=/usr/bin/ruby" ;;
    1.30 -	esac
    1.31 -
    1.32  	#	--disable-rubygems
    1.33  	./configure \
    1.34  		--enable-shared \
    1.35  		--disable-install-doc \
    1.36 -		$ARCH_ARGS \
    1.37  		$CONFIGURE_ARGS &&
    1.38  	make $MAKEFLAGS &&
    1.39 -	make install &&
    1.40 +	make install || return 1
    1.41 +
    1.42  	rm $install/usr/lib/ruby/gems/*/cache/*.gem
    1.43  }
    1.44  
    1.45 @@ -51,12 +41,12 @@
    1.46  			CAT="libdevel|shared libraries"
    1.47  			DEPENDS="gmp"
    1.48  			;;
    1.49 -		ruby-stdlib)
    1.50 +		*-stdlib)
    1.51  			copy /usr/lib/ruby/
    1.52  			CAT="libdevel|native libraries"
    1.53  			DEPENDS="gdbm libdb libffi libruby openssl readline zlib"
    1.54  			;;
    1.55 -		ruby-dev)
    1.56 +		*-dev)
    1.57  			copy @dev
    1.58  			;;
    1.59  	esac