wok-next view ruby-enterprise/receipt @ rev 17445
avidemux: make plugins
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Sat Dec 13 10:57:19 2014 +0100 (2014-12-13) |
parents | 205d192370e5 |
children | ea3c4b76ea5d |
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 }