wok-next view ruby/receipt @ rev 10339
raptor: Add $CONFIGURE_ARGS.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sun May 22 01:34:28 2011 +0000 (2011-05-22) |
parents | a832b7c80ec2 |
children | b7319995b37e |
line source
1 # SliTaz package receipt.
3 PACKAGE="ruby"
4 VERSION="1.9.2-p180"
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 SUGGESTED="tk"
12 TAGS="ruby language programming"
14 DEPENDS="libdb ncurses openssl readline zlib gdbm"
15 BUILD_DEPENDS="coreutils-file-output-full zlib-dev tk-dev tcl-dev openssl-dev \
16 db-dev readline-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
22 patch -Np1 < $stuff/openssl-1.0.patch
23 ./configure --prefix=/usr --enable-shared &&
24 make -j 4 &&
25 make DESTDIR=$DESTDIR install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/lib
32 cp -a $_pkg/usr/lib/ruby $fs/usr/lib
33 cp -a $_pkg/usr/bin $fs/usr
34 cp -a $_pkg/usr/lib/libruby.so* $fs/usr/lib
35 }