wok-6.x view haserl/receipt @ rev 24415

Add some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Feb 10 18:04:02 2022 +0000 (2022-02-10)
parents f7f1e45f4243
children 47142d560d01
line source
1 # SliTaz package receipt.
3 PACKAGE="haserl"
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 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 DEPENDS=""
15 BUILD_DEPENDS="glibc-dev"
16 SUGGESTED="bash lua lua-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 -j 1 &&
32 make DESTDIR=$DESTDIR install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr
39 cp -a $install/usr/bin $fs/usr
40 }