wok view haserl-lua/receipt @ rev 5299

Up sftp-server (5.5p1)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Apr 19 13:08:24 2010 +0200 (2010-04-19)
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 }