wok-6.x annotate ruby/receipt @ rev 5002
[h-k]*: update depends
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Feb 28 15:46:04 2010 +0100 (2010-02-28) |
parents | c51bc99921be |
children | 1707e54fb4cf |
rev | line source |
---|---|
pankso@27 | 1 # SliTaz package receipt. |
pankso@27 | 2 |
pankso@27 | 3 PACKAGE="ruby" |
erjo@4797 | 4 VERSION="1.8.7-p72" |
pankso@200 | 5 CATEGORY="development" |
pankso@27 | 6 SHORT_DESC="Dynamic programming language focused on simplicity and productivity." |
pankso@27 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@27 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@27 | 9 WEB_SITE="http://www.ruby-lang.org/" |
erjo@4797 | 10 WGET_URL="ftp://ftp.ruby-lang.org/pub/ruby/1.8/$TARBALL" |
pankso@3427 | 11 DEPENDS="libdb ncurses openssl readline zlib" |
jozee@4972 | 12 TAGS="ruby language programming" |
pankso@27 | 13 |
pankso@27 | 14 # Rules to configure and make the package. |
pankso@27 | 15 compile_rules() |
pankso@27 | 16 { |
pankso@27 | 17 cd $src |
pankso@883 | 18 ./configure \ |
pankso@883 | 19 --prefix=/usr \ |
pankso@883 | 20 --infodir=/usr/share/info \ |
pankso@883 | 21 --mandir=/usr/share/man \ |
pascal@2446 | 22 $CONFIGURE_ARGS && |
pascal@2446 | 23 make && |
pankso@27 | 24 make DESTDIR=$PWD/_pkg install |
pankso@27 | 25 } |
pankso@27 | 26 |
pankso@27 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@27 | 28 genpkg_rules() |
pankso@27 | 29 { |
pankso@27 | 30 mkdir -p $fs/usr/lib |
pankso@27 | 31 cp -a $_pkg/usr/lib/ruby $fs/usr/lib |
pankso@27 | 32 cp -a $_pkg/usr/bin $fs/usr |
pankso@27 | 33 |
pankso@2472 | 34 # Remove devel files --> ruby-dev |
erjo@4784 | 35 rm $fs/usr/lib/ruby/1.9/i486-linux/*.h |
pankso@27 | 36 } |