wok-6.x view ruby/receipt @ rev 2059

Add socat
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jan 21 10:56:35 2009 +0000 (2009-01-21)
parents b61b574cf78e
children a2850bc26b12
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"
12 # Rules to configure and make the package.
13 compile_rules()
14 {
15 cd $src
16 ./configure \
17 --prefix=/usr \
18 --infodir=/usr/share/info \
19 --mandir=/usr/share/man \
20 $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 # Remove devel files
33 rm $fs/usr/lib/ruby/1.8/i486-linux/*.h
34 }
36 # Remove old libs.
37 #post_install()
38 #{
39 #local root
40 #root=$1
41 #rm -rf $root/usr/lib/ruby/1.8
42 #}