wok view ruby-enterprise/receipt @ rev 10196

Up: ilmbase to 1.0.2.
author Christopher Rogers <slaxemulator@gmail.com>
date Fri May 20 23:00:39 2011 +0000 (2011-05-20)
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 }