wok-current view ruby-enterprise/receipt @ rev 25721

Update slitaz-i18n for gnumeric
author Stanislas Leduc <shann@slitaz.org>
date Tue Jun 18 11:25:19 2024 +0000 (4 months ago)
parents 2f230197370e
children
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="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/rubyenterpriseedition/$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 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - http://www.rubyenterpriseedition.com/download.html 2>/dev/null | \
23 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 cd $src/source
30 for i in ext/dl/mk*rb ; do
31 grep -q STDOUT.flush $i || echo "STDOUT.flush" >> $i
32 done
33 ./configure $CONFIGURE_ARGS && make && make install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr/lib
40 cp -a $install/usr/lib/ruby $fs/usr/lib
41 cp -a $install/usr/bin $fs/usr
43 # Remove devel files --> ruby-enterprise-dev
44 rm $fs/usr/lib/ruby/1.8/i?86-linux/*.h
46 # Remove doc --> ruby-enterprise-doc
47 rm -rf $fs/usr/lib/ruby/1.8/rdoc
48 }