wok annotate haserl-lua/receipt @ rev 25569

BootProg: fix boot16.asm
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri May 12 21:35:09 2023 +0000 (18 months ago)
parents 47142d560d01
children
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"
pascal@25460 9 WEB_SITE="https://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 }