wok view ruby/receipt @ rev 12203

pm-utils: fix grep params in pm/functions.in again
author Dominique Corbex <domcox@slitaz.org>
date Mon Mar 26 20:54:35 2012 +0200 (2012-03-26)
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 }