wok annotate thttpd/receipt @ rev 11475

ardour: rebuild
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Sat Dec 17 19:17:34 2011 +0100 (2011-12-17)
parents
children 1c6d90864e25
rev   line source
pascal@11227 1 # SliTaz package receipt.
pascal@11227 2
pascal@11227 3 PACKAGE="thttpd"
pascal@11227 4 VERSION="2.25b"
pascal@11227 5 CATEGORY="network"
pascal@11227 6 SHORT_DESC="Throttleable lightweight httpd server"
pascal@11227 7 MAINTAINER="erjo@slitaz.org"
pascal@11227 8 DEPENDS=""
pascal@11227 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@11227 10 WEB_SITE="http://www.acme.com/software/thttpd/"
pascal@11227 11 WGET_URL="http://www.acme.com/software/thttpd/$TARBALL"
pascal@11227 12
pascal@11227 13 # Rules to configure and make the package.
pascal@11227 14 compile_rules()
pascal@11227 15 {
pascal@11227 16 cd $src
pascal@11227 17 patch -p1 -i $stuff/htpassword.c.u || exit 1
pascal@11227 18 ./configure \
pascal@11227 19 --prefix=/usr \
pascal@11227 20 --infodir=/usr/share/info \
pascal@11227 21 --mandir=/usr/share/man \
pascal@11227 22 $CONFIGURE_ARGS &&
pascal@11227 23 make
pascal@11227 24 }
pascal@11227 25
pascal@11227 26 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@11227 27 genpkg_rules()
pascal@11227 28 {
pascal@11227 29 mkdir -p $fs/usr/sbin \
pascal@11227 30 $fs/var/log/thttpd \
pascal@11227 31
pascal@11227 32 cp -a $src/thttpd $fs/usr/sbin
pascal@11227 33 cp -a $src/extras/htpasswd $fs/usr/sbin
pascal@11227 34 cp -a $src/extras/syslogtocern $fs/usr/sbin
pascal@11227 35 cp -a stuff/etc $fs/
pascal@11227 36 }
pascal@11227 37