wok-stable annotate ruby/receipt @ rev 9807
blender: fix BUILD_DEPENDS
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat May 14 22:49:17 2011 +0200 (2011-05-14) |
parents | 957c032c10a9 |
children | 0cf700552260 |
rev | line source |
---|---|
pankso@27 | 1 # SliTaz package receipt. |
pankso@27 | 2 |
pankso@27 | 3 PACKAGE="ruby" |
slaxemulator@8730 | 4 VERSION="1.9.2-p180" |
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" |
slaxemulator@6448 | 8 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@27 | 9 WEB_SITE="http://www.ruby-lang.org/" |
pascal@5458 | 10 WGET_URL="ftp://ftp.ruby-lang.org/pub/ruby/${VERSION%.*}/$TARBALL" |
gokhlayeh@9133 | 11 DEPENDS="libdb ncurses openssl readline zlib gdbm" |
gokhlayeh@9133 | 12 SUGGESTED="tk" |
gokhlayeh@9135 | 13 BUILD_DEPENDS=" coreutils-file-output-full zlib-dev tk" |
jozee@4972 | 14 TAGS="ruby language programming" |
pankso@27 | 15 |
pankso@27 | 16 # Rules to configure and make the package. |
pankso@27 | 17 compile_rules() |
pankso@27 | 18 { |
pankso@27 | 19 cd $src |
pascal@8974 | 20 patch -Np1 < $stuff/openssl-1.0.patch |
rocky@7856 | 21 ./configure --prefix=/usr --enable-shared --infodir=/usr/share/info --mandir=/usr/share/man $CONFIGURE_ARGS && |
pascal@5781 | 22 make -j 4 && |
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 |
jozee@5558 | 31 cp -a $_pkg/usr/bin $fs/usr |
rocky@7856 | 32 cp -a $_pkg/usr/lib/libruby.so* $fs/usr/lib |
pankso@27 | 33 } |