SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "ruby-enterprise"

# SliTaz package receipt.

PACKAGE="ruby-enterprise"
VERSION="1.8.7-2011.03"
CATEGORY="development"
SHORT_DESC="Ruby Enterprise Edition"
MAINTAINER="erjo@slitaz.org"
DEPENDS="libdb ncurses libssl readline zlib"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WEB_SITE="http://www.rubyenterpriseedition.com/"
WGET_URL="http://rubyenterpriseedition.googlecode.com/files/$TARBALL"
BUILD_DEPENDS="zlib-dev"
SUGGESTED="tk xorg-libXss gdbm"
PROVIDES="ruby"
TAGS="ruby language programming"

# Rules to configure and make the package.
compile_rules()
{
    cd $src/source
    ./configure $CONFIGURE_ARGS && make && make install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/lib
    cp -a $install/usr/lib/ruby $fs/usr/lib
    cp -a $install/usr/bin $fs/usr
    
    # Remove devel files --> ruby-enterprise-dev
    #rm $fs/usr/lib/ruby/1.8/i486-linux/*.h
    rm $fs/usr/lib/ruby/1.8/i686-linux/*.h
    
    # Remove doc --> ruby-enterprise-doc
    rm -rf $fs/usr/lib/ruby/1.8/rdoc
}

3382 packages and 430813 files in stable database (Mon Mar 4 17:53:49 2019)