wok-next view ruby/receipt @ rev 1865

neon: add ssl support
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Dec 16 09:09:36 2008 +0000 (2008-12-16)
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 #}