wok-stable view thttpd/receipt @ rev 11909
xcb-util: Revert update it's break all X packages
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Feb 29 21:52:09 2012 +0100 (2012-02-29) |
parents | |
children |
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 }