wok view ruby/receipt @ rev 20940

updated freeglut-dev again (2.6.0 -> 3.0.0)
author Hans-G?nter Theisgen
date Sat Mar 02 17:44:22 2019 +0100 (2019-03-02)
parents fa43369c61c4
children 2e5dbc4cc282
line source
1 # SliTaz package receipt.
3 PACKAGE="ruby"
4 VERSION="1.9.2-p180"
5 CATEGORY="development"
6 SHORT_DESC="Dynamic programming language focused on simplicity and productivity."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://www.ruby-lang.org/"
11 WGET_URL="ftp://ftp.ruby-lang.org/pub/ruby/${VERSION%.*}/$TARBALL"
12 TAGS="ruby language programming"
13 HOST_ARCH="i486 arm"
15 SUGGESTED="tk"
16 RELATED="libruby libruby-extras ruby-dev"
17 DEPENDS="libruby libdb ncurses openssl readline zlib gdbm"
18 BUILD_DEPENDS="zlib-dev tcl-dev openssl-dev db-dev readline-dev"
20 # Handle cross compilation.
21 case "$ARCH" in
22 i?86)
23 BUILD_DEPENDS="$BUILD_DEPENDS coreutils-file-output-full tk-dev " ;;
24 arm*)
25 # executable host ruby is required. use --with-baseruby option.
26 # --with-arch=arm
27 export ac_cv_func_getpgrp_void=yes
28 export ac_cv_func_setpgrp_void=yes
29 ARCH_ARGS="--with-baseruby=/usr/bin/ruby" ;;
30 esac
32 # Rules to configure and make the package.
33 compile_rules()
34 {
35 #patch -Np1 < $stuff/openssl-1.0.patch
36 ./configure \
37 --prefix=/usr \
38 --enable-shared \
39 $CONFIGURE_ARGS ${ARCH_ARGS} &&
40 make $MAKEFLAGS &&
41 make DESTDIR=$DESTDIR install
42 }
44 # Rules to gen a SliTaz package suitable for Tazpkg.
45 genpkg_rules()
46 {
47 mkdir -p $fs/usr/lib
48 cp -a $install/usr/bin $fs/usr
49 }