wok-next view thttpd/receipt @ rev 15909
Up: lxpanel (0.6.1) and remove dep on libwnck --> lxpanel-extra (save space on core ISO)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat Feb 15 13:07:07 2014 +0100 (2014-02-15) |
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 }