wok view ruby-enterprise/receipt @ rev 14657

Normalize LICENSE according to wok/licenses package (bsd part)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jun 05 16:21:04 2013 +0200 (2013-06-05)
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 }