wok annotate haserl/receipt @ rev 25041
Up fatattr (1.0.1), puzzles (20220128)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri May 27 17:15:46 2022 +0000 (2022-05-27) |
parents | ba7cbdb5749c |
children | 7dd01dedad38 |
rev | line source |
---|---|
milka@1134 | 1 # SliTaz package receipt. |
milka@1134 | 2 |
milka@1134 | 3 PACKAGE="haserl" |
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 |
milka@1134 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
milka@1134 | 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
milka@1134 | 13 |
Hans-G?nter@24636 | 14 SUGGESTED="bash lua lua-dev" |
pascal@15000 | 15 DEPENDS="" |
pascal@15000 | 16 BUILD_DEPENDS="glibc-dev" |
pascal@15000 | 17 |
pascal@24412 | 18 # What is the latest version available today? |
pascal@24412 | 19 current_version() |
pascal@24412 | 20 { |
pascal@24412 | 21 wget -O - https://sourceforge.net/projects/haserl/files/haserl-devel/ 2>/dev/null | \ |
pascal@24412 | 22 sed '/scope="row/!d;/tar/!d;s|.*/haserl-||;s|.tar.*||;q' |
pascal@24412 | 23 } |
pascal@24412 | 24 |
milka@1134 | 25 # Rules to configure and make the package. |
milka@1134 | 26 compile_rules() |
milka@1134 | 27 { |
Hans-G?nter@21027 | 28 ./configure \ |
Hans-G?nter@21027 | 29 --bindir=/usr/bin \ |
Hans-G?nter@21027 | 30 $CONFIGURE_ARGS && |
Hans-G?nter@24636 | 31 make && |
Hans-G?nter@24636 | 32 make install DESTDIR=$DESTDIR |
milka@1134 | 33 } |
milka@1134 | 34 |
milka@1134 | 35 # Rules to gen a SliTaz package suitable for Tazpkg. |
milka@1134 | 36 genpkg_rules() |
milka@1134 | 37 { |
Hans-G?nter@24636 | 38 cook_copy_folders bin |
Hans-G?nter@21027 | 39 } |