wok-next view thttpd/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents d6378d455338
children
line source
1 # SliTaz package receipt v2.
3 PACKAGE="thttpd"
4 VERSION="2.25b"
5 CATEGORY="network"
6 SHORT_DESC="Throttleable lightweight httpd server"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="BSD"
9 WEB_SITE="http://www.acme.com/software/thttpd/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="http://www.acme.com/software/thttpd/$TARBALL"
14 compile_rules() {
15 ./configure $CONFIGURE_ARGS &&
16 make || return 1
18 install -Dm755 thttpd $install/usr/sbin/thttpd
19 install -Dm755 extras/htpasswd $install/usr/sbin/htpasswd
20 install -Dm755 extras/syslogtocern $install/usr/sbin/syslogcern
22 install -Dm644 $stuff/etc/init.d/thttpd $install/etc/init.d/thttpd
23 install -Dm644 $stuff/etc/thttpd/thttpd.conf $install/etc/thttpd/thttpd.conf
25 mkdir -p $install/var/log/thttpd
26 }
28 genpkg_rules() {
29 copy @std
30 }