wok-6.x view ruby-enterprise/receipt @ rev 21102
perl-image-magick, libjpeg: update version, jabberd2: fix deps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Mar 18 19:29:35 2019 +0100 (2019-03-18) |
parents | 205d192370e5 |
children | 2f230197370e |
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 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.rubyenterpriseedition.com/"
11 WGET_URL="http://rubyenterpriseedition.googlecode.com/files/$TARBALL"
12 SUGGESTED="tk xorg-libXss gdbm"
13 PROVIDE="ruby"
14 TAGS="ruby language programming"
16 DEPENDS="libdb ncurses libssl readline zlib"
17 BUILD_DEPENDS="zlib-dev"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 cd $src/source
23 for i in ext/dl/mk*rb ; do
24 grep -q STDOUT.flush $i || echo "STDOUT.flush" >> $i
25 done
26 ./configure $CONFIGURE_ARGS && make && make install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/lib
33 cp -a $install/usr/lib/ruby $fs/usr/lib
34 cp -a $install/usr/bin $fs/usr
36 # Remove devel files --> ruby-enterprise-dev
37 rm $fs/usr/lib/ruby/1.8/i?86-linux/*.h
39 # Remove doc --> ruby-enterprise-doc
40 rm -rf $fs/usr/lib/ruby/1.8/rdoc
41 }