wok annotate ruby/receipt @ rev 5195
slitaz-doc: fix version for 3.0
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun Mar 28 17:16:33 2010 +0200 (2010-03-28) |
parents | 8be66f03fbd2 |
children | 06c5e42bb9f1 |
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" |
pascal@5006 | 11 DEPENDS="libdb ncurses openssl readline zlib tk xorg-libXss gdbm" |
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 } |