wok-current view ruby/receipt @ rev 14826

Up: xfce4-session* (4.10.0)
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Wed Jul 17 13:51:45 2013 +0200 (2013-07-17)
parents cf8f73beef64
children 1040bd60b471
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 $CONFIGURE_ARGS &&
25 make $MAKEFLAGS &&
26 make DESTDIR=$DESTDIR install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/lib
33 cp -a $_pkg/usr/lib/ruby $fs/usr/lib
34 cp -a $_pkg/usr/bin $fs/usr
35 cp -a $_pkg/usr/lib/libruby.so* $fs/usr/lib
36 }