wok-current annotate ruby-enterprise/receipt @ rev 15080
libmatchbox: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Aug 13 17:56:32 2013 +0000 (2013-08-13) |
parents | 5118e45110f5 |
children | e788ef3b4d65 |
rev | line source |
---|---|
erjo@9425 | 1 # SliTaz package receipt. |
erjo@9425 | 2 |
erjo@9425 | 3 PACKAGE="ruby-enterprise" |
pascal@13039 | 4 VERSION="1.8.7-2012.02" |
erjo@9425 | 5 CATEGORY="development" |
erjo@9425 | 6 SHORT_DESC="Ruby Enterprise Edition" |
erjo@9425 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@15068 | 8 LICENSE="GPL2" |
erjo@9425 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
erjo@9425 | 10 WEB_SITE="http://www.rubyenterpriseedition.com/" |
erjo@9425 | 11 WGET_URL="http://rubyenterpriseedition.googlecode.com/files/$TARBALL" |
erjo@9425 | 12 SUGGESTED="tk xorg-libXss gdbm" |
pascal@13024 | 13 PROVIDE="ruby" |
erjo@9425 | 14 TAGS="ruby language programming" |
erjo@9425 | 15 |
pascal@15068 | 16 DEPENDS="libdb ncurses libssl readline zlib" |
pascal@15068 | 17 BUILD_DEPENDS="zlib-dev" |
pascal@15068 | 18 |
erjo@9425 | 19 # Rules to configure and make the package. |
erjo@9425 | 20 compile_rules() |
erjo@9425 | 21 { |
erjo@9425 | 22 cd $src/source |
pascal@13039 | 23 for i in ext/dl/mk*rb ; do |
pascal@13039 | 24 grep -q STDOUT.flush $i || echo "STDOUT.flush" >> $i |
pascal@13039 | 25 done |
gokhlayeh@11573 | 26 ./configure $CONFIGURE_ARGS && make && make install |
erjo@9425 | 27 } |
erjo@9425 | 28 |
erjo@9425 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@9425 | 30 genpkg_rules() |
erjo@9425 | 31 { |
erjo@9425 | 32 mkdir -p $fs/usr/lib |
pankso@9896 | 33 cp -a $install/usr/lib/ruby $fs/usr/lib |
pankso@9896 | 34 cp -a $install/usr/bin $fs/usr |
erjo@9425 | 35 |
erjo@9425 | 36 # Remove devel files --> ruby-enterprise-dev |
pankso@9897 | 37 #rm $fs/usr/lib/ruby/1.8/i486-linux/*.h |
pankso@9897 | 38 rm $fs/usr/lib/ruby/1.8/i686-linux/*.h |
erjo@9425 | 39 |
erjo@9425 | 40 # Remove doc --> ruby-enterprise-doc |
erjo@9425 | 41 rm -rf $fs/usr/lib/ruby/1.8/rdoc |
erjo@9425 | 42 } |
erjo@9425 | 43 |