wok-6.x view ruby-enterprise/receipt @ rev 10528

edbus: we need evas to build enotify and so e17
author Christophe Lincoln <pankso@slitaz.org>
date Wed May 25 16:31:39 2011 +0200 (2011-05-25)
parents 0ed87241adde
children b7319995b37e
line source
1 # SliTaz package receipt.
3 PACKAGE="ruby-enterprise"
4 VERSION="1.8.7-2011.03"
5 CATEGORY="development"
6 SHORT_DESC="Ruby Enterprise Edition"
7 MAINTAINER="erjo@slitaz.org"
8 DEPENDS="libdb ncurses libssl readline zlib"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.rubyenterpriseedition.com/"
11 WGET_URL="http://rubyenterpriseedition.googlecode.com/files/$TARBALL"
12 BUILD_DEPENDS="zlib-dev"
13 SUGGESTED="tk xorg-libXss gdbm"
14 PROVIDES="ruby"
15 TAGS="ruby language programming"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src/source
21 ./configure && make && make install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/lib
28 cp -a $install/usr/lib/ruby $fs/usr/lib
29 cp -a $install/usr/bin $fs/usr
31 # Remove devel files --> ruby-enterprise-dev
32 #rm $fs/usr/lib/ruby/1.8/i486-linux/*.h
33 rm $fs/usr/lib/ruby/1.8/i686-linux/*.h
35 # Remove doc --> ruby-enterprise-doc
36 rm -rf $fs/usr/lib/ruby/1.8/rdoc
37 }