wok-6.x view thttpd/receipt @ rev 14217
get-LibreOffice: update for 4.0.1
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Mar 18 11:46:23 2013 +0100 (2013-03-18) |
parents | |
children | 1c6d90864e25 |
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
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 }