wok view haserl-lua/receipt @ rev 25707
Up perl-net-pcap (0.21), qtermwidget (0.5.1), youtube-dl-gui (0.3.8)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Jul 05 14:08:34 2024 +0000 (3 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 }