wok annotate ruby/receipt @ rev 4649
Add openvas-scanner
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Dec 27 11:39:42 2009 +0100 (2009-12-27) |
parents | 937b735ce8b6 |
children | 734283599021 |
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" |
pankso@3427 | 11 DEPENDS="libdb ncurses openssl readline zlib" |
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 } |