wok view haserl-lua/receipt @ rev 24554

updated flac and flac-dev again (1.3.3 -> 1.3.4)
author Hans-G?nter Theisgen
date Fri Feb 25 11:25:23 2022 +0100 (2022-02-25)
parents f7f1e45f4243
children 47142d560d01
line source
1 # SliTaz package receipt.
3 PACKAGE="haserl-lua"
4 VERSION="0.9.35"
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 DEPENDS=""
16 BUILD_DEPENDS="glibc-dev lua lua-dev pkg-config"
17 SUGGESTED="bash lua lua-dev"
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 -j 1 &&
35 make DESTDIR=$DESTDIR install
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 mkdir -p $fs/usr
42 cp -a $install/usr/bin $fs/usr
43 }