wok annotate ruby/receipt @ rev 3395
mitter & python-turbogears: update depends
author | Claudinei Pereira <claudinei@slitaz.org> |
---|---|
date | Fri Jun 12 00:19:56 2009 +0000 (2009-06-12) |
parents | 39a218ff0972 |
children | 3ee8a4a0be3d |
rev | line source |
---|---|
pankso@27 | 1 # SliTaz package receipt. |
pankso@27 | 2 |
pankso@27 | 3 PACKAGE="ruby" |
pankso@3367 | 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/" |
pankso@883 | 10 WGET_URL="ftp://ftp.ruby-lang.org/pub/ruby/1.8/$TARBALL" |
pascal@2523 | 11 DEPENDS="libdb ncurses openssl readline zlib libiconv" |
pankso@27 | 12 |
pankso@27 | 13 # Rules to configure and make the package. |
pankso@27 | 14 compile_rules() |
pankso@27 | 15 { |
pankso@27 | 16 cd $src |
pankso@883 | 17 ./configure \ |
pankso@883 | 18 --prefix=/usr \ |
pankso@883 | 19 --infodir=/usr/share/info \ |
pankso@883 | 20 --mandir=/usr/share/man \ |
pascal@2446 | 21 $CONFIGURE_ARGS && |
pascal@2446 | 22 make && |
pankso@27 | 23 make DESTDIR=$PWD/_pkg install |
pankso@27 | 24 } |
pankso@27 | 25 |
pankso@27 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@27 | 27 genpkg_rules() |
pankso@27 | 28 { |
pankso@27 | 29 mkdir -p $fs/usr/lib |
pankso@27 | 30 cp -a $_pkg/usr/lib/ruby $fs/usr/lib |
pankso@27 | 31 cp -a $_pkg/usr/bin $fs/usr |
pankso@27 | 32 |
pankso@2472 | 33 # Remove devel files --> ruby-dev |
pankso@883 | 34 rm $fs/usr/lib/ruby/1.8/i486-linux/*.h |
pankso@27 | 35 } |