wok-6.x annotate ruby/receipt @ rev 13738
xbattle: add 24bits colors patch
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Dec 26 13:16:19 2012 +0100 (2012-12-26) |
parents | cf8f73beef64 |
children | 1040bd60b471 |
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" |
pankso@9818 | 11 SUGGESTED="tk" |
pankso@9818 | 12 TAGS="ruby language programming" |
pankso@9818 | 13 |
gokhlayeh@9133 | 14 DEPENDS="libdb ncurses openssl readline zlib gdbm" |
pankso@9821 | 15 BUILD_DEPENDS="coreutils-file-output-full zlib-dev tk-dev tcl-dev openssl-dev \ |
pankso@9893 | 16 db-dev readline-dev" |
pankso@27 | 17 |
pankso@27 | 18 # Rules to configure and make the package. |
pankso@27 | 19 compile_rules() |
pankso@27 | 20 { |
pankso@27 | 21 cd $src |
gokhlayeh@11573 | 22 patch -Np1 < $stuff/openssl-1.0.patch |
gokhlayeh@11573 | 23 ./configure --prefix=/usr --enable-shared \ |
gokhlayeh@11573 | 24 $CONFIGURE_ARGS && |
gokhlayeh@11573 | 25 make $MAKEFLAGS && |
pankso@9818 | 26 make DESTDIR=$DESTDIR install |
pankso@27 | 27 } |
pankso@27 | 28 |
pankso@27 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@27 | 30 genpkg_rules() |
pankso@27 | 31 { |
pankso@27 | 32 mkdir -p $fs/usr/lib |
pankso@27 | 33 cp -a $_pkg/usr/lib/ruby $fs/usr/lib |
jozee@5558 | 34 cp -a $_pkg/usr/bin $fs/usr |
rocky@7856 | 35 cp -a $_pkg/usr/lib/libruby.so* $fs/usr/lib |
pankso@27 | 36 } |