wok-next annotate ruby-enterprise/receipt @ rev 9714
glibc: like GCC also need gawk
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun May 08 23:33:17 2011 +0200 (2011-05-08) |
parents | |
children | 0ed87241adde |
rev | line source |
---|---|
erjo@9425 | 1 # SliTaz package receipt. |
erjo@9425 | 2 |
erjo@9425 | 3 PACKAGE="ruby-enterprise" |
erjo@9425 | 4 VERSION="1.8.7-2011.03" |
erjo@9425 | 5 CATEGORY="development" |
erjo@9425 | 6 SHORT_DESC="Ruby Enterprise Edition" |
erjo@9425 | 7 MAINTAINER="erjo@slitaz.org" |
erjo@9425 | 8 DEPENDS="libdb ncurses libssl readline zlib" |
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 BUILD_DEPENDS="zlib-dev" |
erjo@9425 | 13 SUGGESTED="tk xorg-libXss gdbm" |
erjo@9425 | 14 PROVIDES="ruby" |
erjo@9425 | 15 TAGS="ruby language programming" |
erjo@9425 | 16 |
erjo@9425 | 17 # Rules to configure and make the package. |
erjo@9425 | 18 compile_rules() |
erjo@9425 | 19 { |
erjo@9425 | 20 cd $src/source |
erjo@9425 | 21 ./configure \ |
erjo@9425 | 22 --prefix=/usr \ |
erjo@9425 | 23 --infodir=/usr/share/info \ |
erjo@9425 | 24 --mandir=/usr/share/man \ |
erjo@9425 | 25 $CONFIGURE_ARGS && |
erjo@9425 | 26 make && |
erjo@9425 | 27 make DESTDIR=$PWD/_pkg install |
erjo@9425 | 28 } |
erjo@9425 | 29 |
erjo@9425 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@9425 | 31 genpkg_rules() |
erjo@9425 | 32 { |
erjo@9425 | 33 mkdir -p $fs/usr/lib |
erjo@9425 | 34 cp -a $src/source/_pkg/usr/lib/ruby $fs/usr/lib |
erjo@9425 | 35 cp -a $src/source/_pkg/usr/bin $fs/usr |
erjo@9425 | 36 |
erjo@9425 | 37 # Remove devel files --> ruby-enterprise-dev |
erjo@9425 | 38 rm $fs/usr/lib/ruby/1.8/i486-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 |