wok-next view thttpd/receipt @ rev 16330
glib: also up to 2.34.3 for i486
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu Apr 10 23:23:30 2014 +0200 (2014-04-10) |
parents | 1c6d90864e25 |
children | d6378d455338 |
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 LICENSE="BSD"
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 DEPENDS=""
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 patch -p1 -i $stuff/htpassword.c.u || exit 1
20 ./configure \
21 --prefix=/usr \
22 --infodir=/usr/share/info \
23 --mandir=/usr/share/man \
24 $CONFIGURE_ARGS &&
25 make
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/sbin \
32 $fs/var/log/thttpd \
34 cp -a $src/thttpd $fs/usr/sbin
35 cp -a $src/extras/htpasswd $fs/usr/sbin
36 cp -a $src/extras/syslogtocern $fs/usr/sbin
37 cp -a stuff/etc $fs/
38 }