wok-next annotate ruby/receipt @ rev 5781
Speedup some builds
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jul 10 09:37:09 2010 +0200 (2010-07-10) |
parents | 8f21931904cc |
children | 4573c94ec06e |
rev | line source |
---|---|
pankso@27 | 1 # SliTaz package receipt. |
pankso@27 | 2 |
pankso@27 | 3 PACKAGE="ruby" |
slaxemulator@5480 | 4 VERSION="1.9.1-p378" |
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@5558 | 12 BUILD_DEPENDS=" coreutils-file-output-full" |
jozee@4972 | 13 TAGS="ruby language programming" |
pankso@27 | 14 |
pankso@27 | 15 # Rules to configure and make the package. |
pankso@27 | 16 compile_rules() |
pankso@27 | 17 { |
pankso@27 | 18 cd $src |
jozee@5558 | 19 patch -Np1 < ../stuff/openssl-1.0.patch |
jozee@5558 | 20 ./configure --prefix=/usr --infodir=/usr/share/info --mandir=/usr/share/man $CONFIGURE_ARGS && |
pascal@5781 | 21 make -j 4 && |
pankso@27 | 22 make DESTDIR=$PWD/_pkg install |
pankso@27 | 23 } |
pankso@27 | 24 |
pankso@27 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@27 | 26 genpkg_rules() |
pankso@27 | 27 { |
pankso@27 | 28 mkdir -p $fs/usr/lib |
pankso@27 | 29 cp -a $_pkg/usr/lib/ruby $fs/usr/lib |
jozee@5558 | 30 cp -a $_pkg/usr/bin $fs/usr |
pankso@27 | 31 |
pankso@27 | 32 } |