wok-6.x view ruby/receipt @ rev 5673
Add strigi (desktop search engine)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun May 30 19:12:39 2010 +0200 (2010-05-30) |
parents | 9b42152e4818 |
children | 49e501a55595 |
line source
1 # SliTaz package receipt.
3 PACKAGE="ruby"
4 VERSION="1.9.1-p378"
5 CATEGORY="development"
6 SHORT_DESC="Dynamic programming language focused on simplicity and productivity."
7 MAINTAINER="pankso@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
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"
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 --infodir=/usr/share/info --mandir=/usr/share/man $CONFIGURE_ARGS &&
21 make &&
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
32 }