wok-6.x rev 21853
updated ruby, ruby-dev, libruby and libruby-extras (1.9.2-p180 -> 2.6.4)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Sep 15 17:50:25 2019 +0100 (2019-09-15) |
parents | a12d1999be3d |
children | 0527eae46468 |
files | libruby-extras/receipt libruby/receipt ruby-dev/receipt ruby/receipt |
line diff
1.1 --- a/libruby-extras/receipt Sun Sep 15 16:40:52 2019 +0100 1.2 +++ b/libruby-extras/receipt Sun Sep 15 17:50:25 2019 +0100 1.3 @@ -1,17 +1,18 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="libruby-extras" 1.7 -VERSION="1.9.2-p180" 1.8 +VERSION="2.6.4" 1.9 CATEGORY="development" 1.10 SHORT_DESC="Ruby libraries." 1.11 MAINTAINER="pankso@slitaz.org" 1.12 LICENSE="GPL2" 1.13 -WEB_SITE="http://www.ruby-lang.org/" 1.14 +WEB_SITE="https://www.ruby-lang.org/" 1.15 + 1.16 WANTED="ruby" 1.17 +DEPENDS="ruby" 1.18 + 1.19 HOST_ARCH="i486 arm" 1.20 1.21 -DEPENDS="ruby" 1.22 - 1.23 # Rules to gen a SliTaz package suitable for Tazpkg. 1.24 genpkg_rules() 1.25 {
2.1 --- a/libruby/receipt Sun Sep 15 16:40:52 2019 +0100 2.2 +++ b/libruby/receipt Sun Sep 15 17:50:25 2019 +0100 2.3 @@ -1,13 +1,15 @@ 2.4 # SliTaz package receipt. 2.5 2.6 PACKAGE="libruby" 2.7 -VERSION="1.9.2-p180" 2.8 +VERSION="2.6.4" 2.9 CATEGORY="development" 2.10 SHORT_DESC="Ruby shared libraries." 2.11 MAINTAINER="pankso@slitaz.org" 2.12 LICENSE="GPL2" 2.13 -WEB_SITE="http://www.ruby-lang.org/" 2.14 +WEB_SITE="https://www.ruby-lang.org/" 2.15 + 2.16 WANTED="ruby" 2.17 + 2.18 HOST_ARCH="i486 arm" 2.19 2.20 # Rules to gen a SliTaz package suitable for Tazpkg.
3.1 --- a/ruby-dev/receipt Sun Sep 15 16:40:52 2019 +0100 3.2 +++ b/ruby-dev/receipt Sun Sep 15 17:50:25 2019 +0100 3.3 @@ -1,23 +1,25 @@ 3.4 # SliTaz package receipt. 3.5 3.6 PACKAGE="ruby-dev" 3.7 -VERSION="1.9.2-p180" 3.8 +VERSION="2.6.4" 3.9 CATEGORY="development" 3.10 -SHORT_DESC="Devel file for Ruby (to compile ruby-modules)." 3.11 +SHORT_DESC="Development files for Ruby (to compile ruby-modules)." 3.12 MAINTAINER="pankso@slitaz.org" 3.13 LICENSE="GPL2" 3.14 -WEB_SITE="http://www.ruby-lang.org/" 3.15 +WEB_SITE="https://www.ruby-lang.org/" 3.16 + 3.17 WANTED="ruby" 3.18 +DEPENDS="ruby" 3.19 + 3.20 HOST_ARCH="i486 arm" 3.21 3.22 -DEPENDS="ruby" 3.23 - 3.24 # Rules to gen a SliTaz package suitable for Tazpkg. 3.25 genpkg_rules() 3.26 { 3.27 mkdir -p $fs/usr/lib/ 3.28 - cp -a $install/usr/lib/*.a $fs/usr/lib 3.29 - cp -a $install/usr/include $fs/usr 3.30 - cp -a $install/usr/lib/ruby $fs/usr/lib 3.31 - cp -a $install/usr/lib/libruby.so* $fs/usr/lib 3.32 + 3.33 +# cp -a $install/usr/lib/*.a $fs/usr/lib 3.34 + cp -a $install/usr/include $fs/usr 3.35 + cp -a $install/usr/lib/ruby $fs/usr/lib 3.36 + cp -a $install/usr/lib/libruby.so* $fs/usr/lib 3.37 }
4.1 --- a/ruby/receipt Sun Sep 15 16:40:52 2019 +0100 4.2 +++ b/ruby/receipt Sun Sep 15 17:50:25 2019 +0100 4.3 @@ -1,21 +1,24 @@ 4.4 # SliTaz package receipt. 4.5 4.6 PACKAGE="ruby" 4.7 -VERSION="1.9.2-p180" 4.8 +VERSION="2.6.4" 4.9 CATEGORY="development" 4.10 +TAGS="ruby language programming" 4.11 SHORT_DESC="Dynamic programming language focused on simplicity and productivity." 4.12 MAINTAINER="pankso@slitaz.org" 4.13 LICENSE="GPL2" 4.14 -TARBALL="$PACKAGE-$VERSION.tar.bz2" 4.15 -WEB_SITE="http://www.ruby-lang.org/" 4.16 -WGET_URL="ftp://ftp.ruby-lang.org/pub/ruby/${VERSION%.*}/$TARBALL" 4.17 -TAGS="ruby language programming" 4.18 -HOST_ARCH="i486 arm" 4.19 +WEB_SITE="https://www.ruby-lang.org/" 4.20 + 4.21 +TARBALL="$PACKAGE-$VERSION.tar.gz" 4.22 +WGET_URL="https://cache.ruby-lang.org/pub/$PACKAGE/${VERSION%.*}/$TARBALL" 4.23 + 4.24 +DEPENDS="gcc83-lib-base gdbm libdb libruby ncurses openssl readline zlib" 4.25 +BUILD_DEPENDS="db-dev gcc83 openssl-dev readline-dev tcl-dev zlib-dev" 4.26 4.27 SUGGESTED="tk" 4.28 RELATED="libruby libruby-extras ruby-dev" 4.29 -DEPENDS="libruby libdb ncurses openssl readline zlib gdbm" 4.30 -BUILD_DEPENDS="zlib-dev tcl-dev openssl-dev db-dev readline-dev" 4.31 + 4.32 +HOST_ARCH="i486 arm" 4.33 4.34 # Handle cross compilation. 4.35 case "$ARCH" in 4.36 @@ -33,9 +36,13 @@ 4.37 compile_rules() 4.38 { 4.39 #patch -Np1 < $stuff/openssl-1.0.patch 4.40 - ./configure \ 4.41 - --prefix=/usr \ 4.42 - --enable-shared \ 4.43 + 4.44 + export CC=gcc-83 4.45 + export CXX=g++-83 4.46 + 4.47 + ./configure \ 4.48 + --prefix=/usr \ 4.49 + --enable-shared \ 4.50 $CONFIGURE_ARGS ${ARCH_ARGS} && 4.51 make $MAKEFLAGS && 4.52 make DESTDIR=$DESTDIR install 4.53 @@ -44,6 +51,6 @@ 4.54 # Rules to gen a SliTaz package suitable for Tazpkg. 4.55 genpkg_rules() 4.56 { 4.57 - mkdir -p $fs/usr/lib 4.58 + mkdir -p $fs/usr 4.59 cp -a $install/usr/bin $fs/usr 4.60 }