wok-next annotate ruby/receipt @ rev 15568
Up: thunderbird-langpack-zh_TW (17.0.11esr)
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Sun Nov 24 17:37:55 2013 +0100 (2013-11-24) |
parents | b7319995b37e |
children | fa43369c61c4 |
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" |
pascal@15023 | 8 LICENSE="GPL2" |
slaxemulator@6448 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@27 | 10 WEB_SITE="http://www.ruby-lang.org/" |
pascal@5458 | 11 WGET_URL="ftp://ftp.ruby-lang.org/pub/ruby/${VERSION%.*}/$TARBALL" |
pankso@9818 | 12 SUGGESTED="tk" |
pankso@9818 | 13 TAGS="ruby language programming" |
pankso@9818 | 14 |
gokhlayeh@9133 | 15 DEPENDS="libdb ncurses openssl readline zlib gdbm" |
pankso@9821 | 16 BUILD_DEPENDS="coreutils-file-output-full zlib-dev tk-dev tcl-dev openssl-dev \ |
pankso@9893 | 17 db-dev readline-dev" |
pankso@27 | 18 |
pankso@27 | 19 # Rules to configure and make the package. |
pankso@27 | 20 compile_rules() |
pankso@27 | 21 { |
pankso@27 | 22 cd $src |
gokhlayeh@11573 | 23 patch -Np1 < $stuff/openssl-1.0.patch |
gokhlayeh@11573 | 24 ./configure --prefix=/usr --enable-shared \ |
gokhlayeh@11573 | 25 $CONFIGURE_ARGS && |
gokhlayeh@11573 | 26 make $MAKEFLAGS && |
pankso@9818 | 27 make DESTDIR=$DESTDIR install |
pankso@27 | 28 } |
pankso@27 | 29 |
pankso@27 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@27 | 31 genpkg_rules() |
pankso@27 | 32 { |
pankso@27 | 33 mkdir -p $fs/usr/lib |
pascal@15023 | 34 cp -a $install/usr/lib/ruby $fs/usr/lib |
pascal@15023 | 35 cp -a $install/usr/bin $fs/usr |
pascal@15023 | 36 cp -a $install/usr/lib/libruby.so* $fs/usr/lib |
pankso@27 | 37 } |