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

linux-cloop: apply patch
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Aug 11 16:36:05 2014 +0200 (2014-08-11)
parents 02bbaa9d12ba
children f7f1e45f4243
line source
1 # SliTaz package receipt.
3 PACKAGE="haserl-lua"
4 SOURCE="haserl"
5 VERSION="0.9.27"
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 LICENSE="GPL2"
10 SUGGESTED="bash lua lua-dev"
11 TARBALL="$SOURCE-$VERSION.tar.gz"
12 WEB_SITE="http://haserl.sourceforge.net/"
13 WGET_URL="$SF_MIRROR/$SOURCE/$TARBALL"
15 DEPENDS=""
16 BUILD_DEPENDS="glibc-dev pkg-config lua lua-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
22 ./configure \
23 --bindir=/usr/bin \
24 --with-lua \
25 --program-suffix=-lua \
26 $CONFIGURE_ARGS &&
27 make &&
28 make DESTDIR=$DESTDIR install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr
35 cp -a $install/usr/bin $fs/usr
37 }