# SliTaz package receipt. PACKAGE="thttpd" VERSION="2.25b" CATEGORY="network" SHORT_DESC="Throttleable lightweight httpd server" MAINTAINER="erjo@slitaz.org" DEPENDS="" TARBALL="$PACKAGE-$VERSION.tar.gz" WEB_SITE="http://www.acme.com/software/thttpd/" WGET_URL="http://www.acme.com/software/thttpd/$TARBALL" # Rules to configure and make the package. compile_rules() { cd $src patch -p1 -i $stuff/htpassword.c.u || exit 1 ./configure \ --prefix=/usr \ --infodir=/usr/share/info \ --mandir=/usr/share/man \ $CONFIGURE_ARGS && make } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/sbin \ $fs/var/log/thttpd \ cp -a $src/thttpd $fs/usr/sbin cp -a $src/extras/htpasswd $fs/usr/sbin cp -a $src/extras/syslogtocern $fs/usr/sbin cp -a stuff/etc $fs/ }