wok-undigest view ruby/receipt @ rev 207

ruby* modified for ovz-web-panel
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Sun Jan 02 23:15:08 2011 +0100 (2011-01-02)
parents
children
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 libssl readline zlib gdbm"
12 DEPENDS="libruby"
13 BUILD_DEPENDS="openssl-dev slitaz-toolchain"
14 TAGS="ruby language programming"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure \
21 --prefix=/usr \
22 --infodir=/usr/share/info \
23 --mandir=/usr/share/man \
24 --enable-shared \
25 $CONFIGURE_ARGS &&
26 make &&
27 make DESTDIR=$PWD/_pkg install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr
34 cp -a $_pkg/usr/bin $fs/usr
35 }