wok view haserl-lua/receipt @ rev 25229
updated python-pyst2 (0.5.0 -> 0.5.1)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jul 13 16:59:13 2022 +0100 (2022-07-13) |
parents | ba7cbdb5749c |
children | 7dd01dedad38 |
line source
1 # SliTaz package receipt.
3 PACKAGE="haserl-lua"
4 VERSION="0.9.36"
5 CATEGORY="network"
6 SHORT_DESC="Small program that uses shell or Lua script to create cgi web scripts."
7 MAINTAINER="milka@konstelacioj.info"
8 LICENSE="GPL2"
9 WEB_SITE="http://haserl.sourceforge.net/"
11 SOURCE="haserl"
12 TARBALL="$SOURCE-$VERSION.tar.gz"
13 WGET_URL="$SF_MIRROR/$SOURCE/$TARBALL"
15 SUGGESTED="bash lua lua-dev"
16 DEPENDS=""
17 BUILD_DEPENDS="glibc-dev lua lua-dev pkg-config"
19 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - https://sourceforge.net/projects/haserl/files/haserl-devel/ 2>/dev/null | \
23 sed '/scope="row/!d;/tar/!d;s|.*/haserl-||;s|.tar.*||;q'
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 ./configure \
30 --bindir=/usr/bin \
31 --with-lua \
32 --program-suffix=-lua \
33 $CONFIGURE_ARGS &&
34 make &&
35 make install DESTDIR=$DESTDIR
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 cook_copy_folders bin
42 }