wok view thttpd/receipt @ rev 15248

squid-custom-errors, thttpd: remove wrong error trigger
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Sep 23 16:48:30 2013 +0000 (2013-09-23)
parents 532ab3b57d40
children dead8955c3ca
line source
1 # SliTaz package receipt.
3 PACKAGE="thttpd"
4 VERSION="2.25b"
5 CATEGORY="network"
6 SHORT_DESC="Throttleable lightweight httpd server"
7 MAINTAINER="erjo@slitaz.org"
8 DEPENDS=""
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.acme.com/software/thttpd/"
11 WGET_URL="http://www.acme.com/software/thttpd/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 patch -p1 -i $stuff/htpassword.c.u || exit 1
18 ./configure \
19 --prefix=/usr \
20 --infodir=/usr/share/info \
21 --mandir=/usr/share/man \
22 $CONFIGURE_ARGS &&
23 make 2>&1 | grep -v "STRERROR"
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/sbin \
30 $fs/var/log/thttpd \
32 cp -a $src/thttpd $fs/usr/sbin
33 cp -a $src/extras/htpasswd $fs/usr/sbin
34 cp -a $src/extras/syslogtocern $fs/usr/sbin
35 cp -a stuff/etc $fs/
36 }