wok view haserl-lua/receipt @ rev 25460

Update sourceforge.net web_sites with https://
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Sep 28 08:10:35 2022 +0000 (19 months ago)
parents 47142d560d01
children
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="https://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 }