wok view ruby/receipt @ rev 9638
Fixed firefox-langpack-pt-BR to be like the other langpack receipts.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Tue Apr 26 17:57:44 2011 +0000 (2011-04-26) |
parents | 957c032c10a9 |
children | 0cf700552260 |
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 DEPENDS="libdb ncurses openssl readline zlib gdbm"
12 SUGGESTED="tk"
13 BUILD_DEPENDS=" coreutils-file-output-full zlib-dev tk"
14 TAGS="ruby language programming"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 patch -Np1 < $stuff/openssl-1.0.patch
21 ./configure --prefix=/usr --enable-shared --infodir=/usr/share/info --mandir=/usr/share/man $CONFIGURE_ARGS &&
22 make -j 4 &&
23 make DESTDIR=$PWD/_pkg install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/lib
30 cp -a $_pkg/usr/lib/ruby $fs/usr/lib
31 cp -a $_pkg/usr/bin $fs/usr
32 cp -a $_pkg/usr/lib/libruby.so* $fs/usr/lib
33 }