wok-6.x annotate ruby/receipt @ rev 5458
ruby: fix wget_url
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed May 05 17:26:25 2010 +0200 (2010-05-05) |
parents | 06c5e42bb9f1 |
children | eef31cf06ceb |
rev | line source |
---|---|
pankso@27 | 1 # SliTaz package receipt. |
pankso@27 | 2 |
pankso@27 | 3 PACKAGE="ruby" |
pascal@5458 | 4 VERSION="1.9.1-p376" |
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/" |
pascal@5458 | 10 WGET_URL="ftp://ftp.ruby-lang.org/pub/ruby/${VERSION%.*}/$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 } |