wok-next view ruby/receipt @ rev 8678

Automated merge with https://bitbucket.org/gokhlayeh/wok
author Antoine Bodin <gokhlayeh@slitaz.org>
date Thu Feb 17 00:50:03 2011 +0100 (2011-02-17)
parents 091548cc3ca5
children 5f8b42af9764
line source
1 # SliTaz package receipt.
3 PACKAGE="ruby"
4 VERSION="1.9.2-p136"
5 CATEGORY="development"
6 SHORT_DESC="Dynamic programming language focused on simplicity and productivity."
7 MAINTAINER="pankso@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
9 WEB_SITE="http://www.ruby-lang.org/"
10 WGET_URL="ftp://ftp.ruby-lang.org/pub/ruby/${VERSION%.*}/$TARBALL"
11 DEPENDS="libdb ncurses openssl readline zlib tk xorg-libXss gdbm"
12 BUILD_DEPENDS=" coreutils-file-output-full zlib-dev"
13 TAGS="ruby language programming"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 patch -Np1 < ../stuff/openssl-1.0.patch
20 ./configure --prefix=/usr --enable-shared --infodir=/usr/share/info --mandir=/usr/share/man $CONFIGURE_ARGS &&
21 make -j 4 &&
22 make DESTDIR=$PWD/_pkg install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/lib
29 cp -a $_pkg/usr/lib/ruby $fs/usr/lib
30 cp -a $_pkg/usr/bin $fs/usr
31 cp -a $_pkg/usr/lib/libruby.so* $fs/usr/lib
32 }