wok-6.x view haserl-lua/receipt @ rev 8615

Fix: replace exit 1 by return 1 in receipts (exit broke cook-list function)
author Antoine Bodin <gokhlayeh@slitaz.org>
date Mon Feb 14 19:09:46 2011 +0100 (2011-02-14)
parents 97a2a9038ef9
children b4a5b149897f
line source
1 # SliTaz package receipt.
3 PACKAGE="haserl-lua"
4 SOURCE="haserl"
5 VERSION="0.9.24"
6 CATEGORY="network"
7 SHORT_DESC="Small program that uses shell or Lua script to create cgi web scripts"
8 MAINTAINER="milka@konstelacioj.info"
9 DEPENDS=""
10 BUILD_DEPENDS="glibc-dev pkg-config lua lua-dev"
11 SUGGESTED="bash lua lua-dev"
12 TARBALL="$SOURCE-$VERSION.tar.gz"
13 WEB_SITE="http://haserl.sourceforge.net/"
14 WGET_URL="$SF_MIRROR/$SOURCE/$TARBALL"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure \
21 --bindir=/usr/bin \
22 --with-lua \
23 --program-suffix=-lua \
24 $CONFIGURE_ARGS &&
25 make &&
26 make DESTDIR=$PWD/_pkg install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr
33 cp -a $_pkg/usr/bin $fs/usr
35 strip -s $fs/usr/bin/*
36 }