wok-stable view ruby/receipt @ rev 5482
Fixed patch.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Thu May 06 03:09:25 2010 +0000 (2010-05-06) |
parents | eef31cf06ceb |
children | 8f21931904cc |
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 TAGS="ruby language programming"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 patch -p1 < ../stuff/openssl-1.0.patch || return 1
19 ./configure \
20 --prefix=/usr \
21 --infodir=/usr/share/info \
22 --mandir=/usr/share/man \
23 $CONFIGURE_ARGS &&
24 make &&
25 make DESTDIR=$PWD/_pkg install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/lib
32 cp -a $_pkg/usr/lib/ruby $fs/usr/lib
33 cp -a $_pkg/usr/bin $fs/usr
35 # Remove devel files --> ruby-dev
36 rm $fs/usr/lib/ruby/1.9.1/i486-linux/*.h
37 }