wok view haserl/receipt @ rev 25037

Up glza (0.11.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 21 21:38:29 2022 +0000 (23 months ago)
parents ba7cbdb5749c
children 7dd01dedad38
line source
1 # SliTaz package receipt.
3 PACKAGE="haserl"
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 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 SUGGESTED="bash lua lua-dev"
15 DEPENDS=""
16 BUILD_DEPENDS="glibc-dev"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - https://sourceforge.net/projects/haserl/files/haserl-devel/ 2>/dev/null | \
22 sed '/scope="row/!d;/tar/!d;s|.*/haserl-||;s|.tar.*||;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 ./configure \
29 --bindir=/usr/bin \
30 $CONFIGURE_ARGS &&
31 make &&
32 make install DESTDIR=$DESTDIR
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 cook_copy_folders bin
39 }