wok view ruby/receipt @ rev 8894

Made lighttpd and lighttpd-ssl only backup vhosts.conf and lighttpd.conf in /etc/lighttpd folder. Doesn't need to backup full /etc/lighttpd folder cause only those files would be affected.
author Christopher Rogers <slaxemulator@gmail.com>
date Sun Feb 27 13:44:14 2011 +0000 (2011-02-27)
parents 79af31ccc3e7
children 940b5937e496
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 tk xorg-libXss gdbm"
12 BUILD_DEPENDS=" coreutils-file-output-full zlib-dev"
13 TAGS="ruby language programming"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 patch -Np1 < ../stuff/openssl-1.0.patch
20 ./configure --prefix=/usr --enable-shared --infodir=/usr/share/info --mandir=/usr/share/man $CONFIGURE_ARGS &&
21 make -j 4 &&
22 make DESTDIR=$PWD/_pkg install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/lib
29 cp -a $_pkg/usr/lib/ruby $fs/usr/lib
30 cp -a $_pkg/usr/bin $fs/usr
31 cp -a $_pkg/usr/lib/libruby.so* $fs/usr/lib
32 }