wok view ruby/receipt @ rev 13677
Up: sqlite to 3.14.1.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Mon Nov 26 20:12:25 2012 +0000 (2012-11-26) |
parents | cf8f73beef64 |
children | 1040bd60b471 |
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 TARBALL="$PACKAGE-$VERSION.tar.bz2"
9 WEB_SITE="http://www.ruby-lang.org/"
10 WGET_URL="ftp://ftp.ruby-lang.org/pub/ruby/${VERSION%.*}/$TARBALL"
11 SUGGESTED="tk"
12 TAGS="ruby language programming"
14 DEPENDS="libdb ncurses openssl readline zlib gdbm"
15 BUILD_DEPENDS="coreutils-file-output-full zlib-dev tk-dev tcl-dev openssl-dev \
16 db-dev readline-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
22 patch -Np1 < $stuff/openssl-1.0.patch
23 ./configure --prefix=/usr --enable-shared \
24 $CONFIGURE_ARGS &&
25 make $MAKEFLAGS &&
26 make DESTDIR=$DESTDIR install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/lib
33 cp -a $_pkg/usr/lib/ruby $fs/usr/lib
34 cp -a $_pkg/usr/bin $fs/usr
35 cp -a $_pkg/usr/lib/libruby.so* $fs/usr/lib
36 }