wok view ruby-enterprise/receipt @ rev 9740
mpfr bug update and fix dl
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue May 10 02:11:03 2011 +0200 (2011-05-10) |
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 }