wok-6.x diff ruby/receipt @ rev 22206
updated xorg-libXau and xorg-libXau-dev (1.0.8 -> 1.0.9)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Nov 11 14:17:33 2019 +0100 (2019-11-11) |
parents | e2dc7c2d000d |
children | 1029b9269d40 |
line diff
1.1 --- a/ruby/receipt Mon Mar 31 23:12:38 2014 +0200 1.2 +++ b/ruby/receipt Mon Nov 11 14:17:33 2019 +0100 1.3 @@ -1,21 +1,24 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="ruby" 1.7 -VERSION="1.9.2-p180" 1.8 +VERSION="2.6.4" 1.9 CATEGORY="development" 1.10 +TAGS="ruby language programming" 1.11 SHORT_DESC="Dynamic programming language focused on simplicity and productivity." 1.12 MAINTAINER="pankso@slitaz.org" 1.13 LICENSE="GPL2" 1.14 -TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.15 -WEB_SITE="http://www.ruby-lang.org/" 1.16 -WGET_URL="ftp://ftp.ruby-lang.org/pub/ruby/${VERSION%.*}/$TARBALL" 1.17 -TAGS="ruby language programming" 1.18 -HOST_ARCH="i486 arm" 1.19 +WEB_SITE="https://www.ruby-lang.org/" 1.20 + 1.21 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.22 +WGET_URL="https://cache.ruby-lang.org/pub/$PACKAGE/${VERSION%.*}/$TARBALL" 1.23 + 1.24 +DEPENDS="gcc83-lib-base gdbm libdb libruby ncurses openssl readline zlib" 1.25 +BUILD_DEPENDS="db-dev gcc83 openssl-dev readline-dev tcl-dev zlib-dev" 1.26 1.27 SUGGESTED="tk" 1.28 RELATED="libruby libruby-extras ruby-dev" 1.29 -DEPENDS="libruby libdb ncurses openssl readline zlib gdbm" 1.30 -BUILD_DEPENDS="zlib-dev tcl-dev openssl-dev db-dev readline-dev" 1.31 + 1.32 +HOST_ARCH="i486 arm" 1.33 1.34 # Handle cross compilation. 1.35 case "$ARCH" in 1.36 @@ -33,9 +36,13 @@ 1.37 compile_rules() 1.38 { 1.39 #patch -Np1 < $stuff/openssl-1.0.patch 1.40 - ./configure \ 1.41 - --prefix=/usr \ 1.42 - --enable-shared \ 1.43 + 1.44 + export CC=gcc-83 1.45 + export CXX=g++-83 1.46 + 1.47 + ./configure \ 1.48 + --prefix=/usr \ 1.49 + --enable-shared \ 1.50 $CONFIGURE_ARGS ${ARCH_ARGS} && 1.51 make $MAKEFLAGS && 1.52 make DESTDIR=$DESTDIR install 1.53 @@ -44,6 +51,6 @@ 1.54 # Rules to gen a SliTaz package suitable for Tazpkg. 1.55 genpkg_rules() 1.56 { 1.57 - mkdir -p $fs/usr/lib 1.58 + mkdir -p $fs/usr 1.59 cp -a $install/usr/bin $fs/usr 1.60 }