wok annotate haserl-lua/receipt @ rev 25060

Up fakeroot (1.29)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jun 07 08:21:12 2022 +0000 (2022-06-07)
parents ba7cbdb5749c
children 7dd01dedad38
rev   line source
milka@1134 1 # SliTaz package receipt.
milka@1134 2
milka@1161 3 PACKAGE="haserl-lua"
Hans-G?nter@24636 4 VERSION="0.9.36"
milka@1134 5 CATEGORY="network"
Hans-G?nter@21027 6 SHORT_DESC="Small program that uses shell or Lua script to create cgi web scripts."
milka@1134 7 MAINTAINER="milka@konstelacioj.info"
pascal@15000 8 LICENSE="GPL2"
Hans-G?nter@21027 9 WEB_SITE="http://haserl.sourceforge.net/"
Hans-G?nter@21027 10
Hans-G?nter@21027 11 SOURCE="haserl"
milka@1161 12 TARBALL="$SOURCE-$VERSION.tar.gz"
milka@1161 13 WGET_URL="$SF_MIRROR/$SOURCE/$TARBALL"
milka@1134 14
Hans-G?nter@24636 15 SUGGESTED="bash lua lua-dev"
pascal@15000 16 DEPENDS=""
Hans-G?nter@21027 17 BUILD_DEPENDS="glibc-dev lua lua-dev pkg-config"
pascal@15000 18
pascal@24412 19 # What is the latest version available today?
pascal@24412 20 current_version()
pascal@24412 21 {
pascal@24412 22 wget -O - https://sourceforge.net/projects/haserl/files/haserl-devel/ 2>/dev/null | \
pascal@24412 23 sed '/scope="row/!d;/tar/!d;s|.*/haserl-||;s|.tar.*||;q'
pascal@24412 24 }
pascal@24412 25
milka@1134 26 # Rules to configure and make the package.
milka@1134 27 compile_rules()
milka@1134 28 {
Hans-G?nter@21027 29 ./configure \
Hans-G?nter@21027 30 --bindir=/usr/bin \
Hans-G?nter@21027 31 --with-lua \
Hans-G?nter@21027 32 --program-suffix=-lua \
Hans-G?nter@21027 33 $CONFIGURE_ARGS &&
Hans-G?nter@24636 34 make &&
Hans-G?nter@24636 35 make install DESTDIR=$DESTDIR
milka@1134 36 }
milka@1134 37
milka@1134 38 # Rules to gen a SliTaz package suitable for Tazpkg.
milka@1134 39 genpkg_rules()
milka@1134 40 {
Hans-G?nter@24636 41 cook_copy_folders bin
Hans-G?nter@21027 42 }