wok-current diff thttpd/receipt @ rev 12732
busybox: add getty fix from busybox.net
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun May 06 18:15:24 2012 +0200 (2012-05-06) |
parents | |
children | 1c6d90864e25 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/thttpd/receipt Sun May 06 18:15:24 2012 +0200 1.3 @@ -0,0 +1,37 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="thttpd" 1.7 +VERSION="2.25b" 1.8 +CATEGORY="network" 1.9 +SHORT_DESC="Throttleable lightweight httpd server" 1.10 +MAINTAINER="erjo@slitaz.org" 1.11 +DEPENDS="" 1.12 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.13 +WEB_SITE="http://www.acme.com/software/thttpd/" 1.14 +WGET_URL="http://www.acme.com/software/thttpd/$TARBALL" 1.15 + 1.16 +# Rules to configure and make the package. 1.17 +compile_rules() 1.18 +{ 1.19 + cd $src 1.20 + patch -p1 -i $stuff/htpassword.c.u || exit 1 1.21 + ./configure \ 1.22 + --prefix=/usr \ 1.23 + --infodir=/usr/share/info \ 1.24 + --mandir=/usr/share/man \ 1.25 + $CONFIGURE_ARGS && 1.26 + make 1.27 +} 1.28 + 1.29 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.30 +genpkg_rules() 1.31 +{ 1.32 + mkdir -p $fs/usr/sbin \ 1.33 + $fs/var/log/thttpd \ 1.34 + 1.35 + cp -a $src/thttpd $fs/usr/sbin 1.36 + cp -a $src/extras/htpasswd $fs/usr/sbin 1.37 + cp -a $src/extras/syslogtocern $fs/usr/sbin 1.38 + cp -a stuff/etc $fs/ 1.39 +} 1.40 +