wok-next view thttpd/receipt @ rev 20661

Unification of the patch system
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu May 10 21:12:00 2018 +0300 (2018-05-10)
parents dead8955c3ca
children d5aab818505e
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 ./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 }