wok view thttpd/receipt @ rev 24408

ncurses-dev: copy pkgconfig
author Hans-G?nter Theisgen
date Wed Feb 09 14:18:05 2022 +0100 (2022-02-09)
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 }