wok-next view haserl-lua/receipt @ rev 9325
Fix: wbar2 receipt path
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri Mar 18 13:08:22 2011 +0100 (2011-03-18) |
parents | 14320228765e |
children | 02bbaa9d12ba |
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 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 }