wok-stable view ruby-enterprise/receipt @ rev 9643

Up: firefox-langpack-fr to 4.0.1.
author Christopher Rogers <slaxemulator@gmail.com>
date Thu Apr 28 23:44:25 2011 +0000 (2011-04-28)
parents
children 0ed87241adde
line source
1 # SliTaz package receipt.
3 PACKAGE="ruby-enterprise"
4 VERSION="1.8.7-2011.03"
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 PROVIDES="ruby"
15 TAGS="ruby language programming"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src/source
21 ./configure \
22 --prefix=/usr \
23 --infodir=/usr/share/info \
24 --mandir=/usr/share/man \
25 $CONFIGURE_ARGS &&
26 make &&
27 make DESTDIR=$PWD/_pkg install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/lib
34 cp -a $src/source/_pkg/usr/lib/ruby $fs/usr/lib
35 cp -a $src/source/_pkg/usr/bin $fs/usr
37 # Remove devel files --> ruby-enterprise-dev
38 rm $fs/usr/lib/ruby/1.8/i486-linux/*.h
40 # Remove doc --> ruby-enterprise-doc
41 rm -rf $fs/usr/lib/ruby/1.8/rdoc
42 }