wok-current annotate ruby/receipt @ rev 19170
Fix typo in $MAINTAINER
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Jun 02 11:40:11 2016 +0300 (2016-06-02) |
parents | fa43369c61c4 |
children | 2e5dbc4cc282 |
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@16189 | 12 TAGS="ruby language programming" |
pankso@16189 | 13 HOST_ARCH="i486 arm" |
pankso@16189 | 14 |
pankso@9818 | 15 SUGGESTED="tk" |
pankso@16221 | 16 RELATED="libruby libruby-extras ruby-dev" |
pankso@16221 | 17 DEPENDS="libruby libdb ncurses openssl readline zlib gdbm" |
pankso@16189 | 18 BUILD_DEPENDS="zlib-dev tcl-dev openssl-dev db-dev readline-dev" |
pankso@9818 | 19 |
pankso@16189 | 20 # Handle cross compilation. |
pankso@16189 | 21 case "$ARCH" in |
pankso@16189 | 22 i?86) |
pankso@16189 | 23 BUILD_DEPENDS="$BUILD_DEPENDS coreutils-file-output-full tk-dev " ;; |
pankso@16189 | 24 arm*) |
pankso@16189 | 25 # executable host ruby is required. use --with-baseruby option. |
pankso@16189 | 26 # --with-arch=arm |
pankso@16189 | 27 export ac_cv_func_getpgrp_void=yes |
pankso@16189 | 28 export ac_cv_func_setpgrp_void=yes |
pankso@16189 | 29 ARCH_ARGS="--with-baseruby=/usr/bin/ruby" ;; |
pankso@16189 | 30 esac |
pankso@27 | 31 |
pankso@27 | 32 # Rules to configure and make the package. |
pankso@27 | 33 compile_rules() |
pankso@27 | 34 { |
pankso@16189 | 35 #patch -Np1 < $stuff/openssl-1.0.patch |
pankso@16189 | 36 ./configure \ |
pankso@16189 | 37 --prefix=/usr \ |
pankso@16189 | 38 --enable-shared \ |
pankso@16189 | 39 $CONFIGURE_ARGS ${ARCH_ARGS} && |
gokhlayeh@11573 | 40 make $MAKEFLAGS && |
pankso@9818 | 41 make DESTDIR=$DESTDIR install |
pankso@27 | 42 } |
pankso@27 | 43 |
pankso@27 | 44 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@27 | 45 genpkg_rules() |
pankso@27 | 46 { |
pankso@27 | 47 mkdir -p $fs/usr/lib |
pankso@16221 | 48 cp -a $install/usr/bin $fs/usr |
pankso@27 | 49 } |