
Receipt for package "ruby"
# SliTaz package receipt. PACKAGE="ruby" VERSION="2.7.1" CATEGORY="development" TAGS="ruby language programming" SHORT_DESC="Dynamic programming language focused on simplicity and productivity." MAINTAINER="pankso@slitaz.org" LICENSE="GPL2" WEB_SITE="https://www.ruby-lang.org/" TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="https://cache.ruby-lang.org/pub/$PACKAGE/${VERSION%.*}/$TARBALL" DEPENDS="gcc83-lib-base gdbm libdb libruby ncurses openssl readline zlib" BUILD_DEPENDS="db-dev gcc83 openssl-dev readline-dev tcl-dev zlib-dev" SUGGESTED="tk" RELATED="libruby libruby-extras ruby-dev" HOST_ARCH="i486 arm" # What is the latest version available today? current_version() { wget -O - $WEB_SITE/en/ 2>/dev/null | \ sed '/Released/!d;/preview/d;s|.*Ruby ||;s| .*||;q' } # Handle cross compilation. case "$ARCH" in i?86) BUILD_DEPENDS="$BUILD_DEPENDS coreutils-file-output-full tk-dev " ;; arm*) # executable host ruby is required. use --with-baseruby option. # --with-arch=arm export ac_cv_func_getpgrp_void=yes export ac_cv_func_setpgrp_void=yes ARCH_ARGS="--with-baseruby=/usr/bin/ruby" ;; esac # Rules to configure and make the package. compile_rules() { #patch -Np1 < $stuff/openssl-1.0.patch export CC=gcc-83 export CXX=g++-83 ./configure \ --prefix=/usr \ --enable-shared \ $CONFIGURE_ARGS \ ${ARCH_ARGS} && make $MAKEFLAGS && make DESTDIR=$DESTDIR install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr cp -a $install/usr/bin $fs/usr }
6011 packages and 861692 files in cooking database (Sun Apr 20 00:48:06 2025)