wok-current view ruby-enterprise/receipt @ rev 12151
sarg: Customising config file
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Thu Mar 15 00:26:36 2012 +0100 (2012-03-15) |
parents | a2497934f8b6 |
children | 36a438c097dc |
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 $CONFIGURE_ARGS && 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 }