wok view haserl/receipt @ rev 25548

aaphoto: fix build
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Mar 23 17:05:06 2023 +0000 (20 months ago)
parents 47142d560d01
children
line source
1 # SliTaz package receipt.
3 PACKAGE="haserl"
4 VERSION="0.9.36"
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="https://haserl.sourceforge.net/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 SUGGESTED="bash lua lua-dev"
15 DEPENDS=""
16 BUILD_DEPENDS="glibc-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 &&
32 make install DESTDIR=$DESTDIR
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 cook_copy_folders bin
39 }