wok view ruby/receipt @ rev 2446

rox-filer, rssyl, rtorrent, ruby: update depends
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Mar 13 14:36:05 2009 +0000 (2009-03-13)
parents ac79d89fa812
children f5adc7f709c1
line source
1 # SliTaz package receipt.
3 PACKAGE="ruby"
4 VERSION="1.8.7"
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/1.8/$TARBALL"
11 DEPENDS="libdb ncurses openssl readline zlib"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 ./configure \
18 --prefix=/usr \
19 --infodir=/usr/share/info \
20 --mandir=/usr/share/man \
21 $CONFIGURE_ARGS &&
22 make &&
23 make DESTDIR=$PWD/_pkg install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/lib
30 cp -a $_pkg/usr/lib/ruby $fs/usr/lib
31 cp -a $_pkg/usr/bin $fs/usr
33 # Remove devel files
34 rm $fs/usr/lib/ruby/1.8/i486-linux/*.h
35 }
37 # Remove old libs.
38 #post_install()
39 #{
40 #local root
41 #root=$1
42 #rm -rf $root/usr/lib/ruby/1.8
43 #}