wok-current view ruby-enterprise/receipt @ rev 25196
updated python-httplib2 (0.17.1 -> 0.20.2)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jul 13 11:04:37 2022 +0100 (2022-07-13) |
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 }