SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "ruby"

# SliTaz package receipt.

PACKAGE="ruby"
VERSION="1.9.2-p180"
CATEGORY="development"
SHORT_DESC="Dynamic programming language focused on simplicity and productivity."
MAINTAINER="pankso@slitaz.org"
TARBALL="$PACKAGE-$VERSION.tar.bz2"
WEB_SITE="http://www.ruby-lang.org/"
WGET_URL="ftp://ftp.ruby-lang.org/pub/ruby/${VERSION%.*}/$TARBALL"
SUGGESTED="tk"
TAGS="ruby language programming"

DEPENDS="libdb ncurses openssl readline zlib gdbm"
BUILD_DEPENDS="coreutils-file-output-full zlib-dev tk-dev tcl-dev openssl-dev \
db-dev readline-dev"

# Rules to configure and make the package.
compile_rules()
{
    cd $src
    patch -Np1 < $stuff/openssl-1.0.patch
    ./configure --prefix=/usr --enable-shared \
        $CONFIGURE_ARGS &&
    make $MAKEFLAGS &&
    make DESTDIR=$DESTDIR install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/lib
    cp -a $_pkg/usr/lib/ruby $fs/usr/lib
    cp -a $_pkg/usr/bin $fs/usr    
    cp -a $_pkg/usr/lib/libruby.so* $fs/usr/lib
}
3382 packages and 430813 files in stable database (Mon Mar 4 17:53:49 2019)