wok view ruby-enterprise/receipt @ rev 14425

enlightenment-pam: update deps+bdeps
author Dominique Corbex <domcox@slitaz.org>
date Tue Apr 23 21:25:42 2013 +0200 (2013-04-23)
parents 36a438c097dc
children 205d192370e5
line source
1 # SliTaz package receipt.
3 PACKAGE="ruby-enterprise"
4 VERSION="1.8.7-2012.02"
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 for i in ext/dl/mk*rb ; do
22 grep -q STDOUT.flush $i || echo "STDOUT.flush" >> $i
23 done
24 ./configure $CONFIGURE_ARGS && make && make install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/lib
31 cp -a $install/usr/lib/ruby $fs/usr/lib
32 cp -a $install/usr/bin $fs/usr
34 # Remove devel files --> ruby-enterprise-dev
35 #rm $fs/usr/lib/ruby/1.8/i486-linux/*.h
36 rm $fs/usr/lib/ruby/1.8/i686-linux/*.h
38 # Remove doc --> ruby-enterprise-doc
39 rm -rf $fs/usr/lib/ruby/1.8/rdoc
40 }