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

aaphoto, joe, kmod, mplayer-svn, polkit-dev, polkit-pam, ruby-enterprise, wordpress, xfe-extras: typo
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jun 11 16:33:12 2012 +0200 (2012-06-11)
parents b7319995b37e
children 5118e45110f5
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 PROVIDE="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 }