wok view ruby/receipt @ rev 5566

Up iptables (1.4.7)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri May 14 15:39:41 2010 +0200 (2010-05-14)
parents 9b42152e4818
children 49e501a55595
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 BUILD_DEPENDS=" coreutils-file-output-full"
13 TAGS="ruby language programming"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 patch -Np1 < ../stuff/openssl-1.0.patch
20 ./configure --prefix=/usr --infodir=/usr/share/info --mandir=/usr/share/man $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 }