wok view ruby/receipt @ rev 5266
Up: libxml2 (2.7.7)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Apr 14 00:06:41 2010 +0200 (2010-04-14) |
parents | 8be66f03fbd2 |
children | 06c5e42bb9f1 |
line source
1 # SliTaz package receipt.
3 PACKAGE="ruby"
4 VERSION="1.8.7-p72"
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 tk xorg-libXss gdbm"
12 TAGS="ruby language programming"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure \
19 --prefix=/usr \
20 --infodir=/usr/share/info \
21 --mandir=/usr/share/man \
22 $CONFIGURE_ARGS &&
23 make &&
24 make DESTDIR=$PWD/_pkg install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/lib
31 cp -a $_pkg/usr/lib/ruby $fs/usr/lib
32 cp -a $_pkg/usr/bin $fs/usr
34 # Remove devel files --> ruby-dev
35 rm $fs/usr/lib/ruby/1.9/i486-linux/*.h
36 }