wok-current view thttpd/receipt @ rev 23345

updated perl-http-message (6.03 -> 6.22)
author Hans-G?nter Theisgen
date Tue Mar 31 09:19:52 2020 +0100 (2020-03-31)
parents dead8955c3ca
children ad8b9ff412d2
line source
1 # SliTaz package receipt.
3 PACKAGE="thttpd"
4 VERSION="2.29"
5 CATEGORY="network"
6 SHORT_DESC="Throttleable lightweight httpd server."
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="BSD"
9 WEB_SITE="https://www.acme.com/software/thttpd/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="${WEB_SITE}$TARBALL"
14 DEPENDS=""
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 # 2.25b
20 # patch -p1 -i $stuff/htpassword.c.u || exit 1
22 ./configure \
23 --prefix=/usr \
24 --infodir=/usr/share/info \
25 --mandir=/usr/share/man \
26 $CONFIGURE_ARGS &&
27 make
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/sbin
34 mkdir -p $fs/var/log/thttpd
36 cp -a $src/thttpd $fs/usr/sbin
37 cp -a $src/extras/htpasswd $fs/usr/sbin
38 cp -a $src/extras/syslogtocern $fs/usr/sbin
39 cp -a stuff/etc $fs/
40 }