SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "thttpd"

# 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/
}

3382 packages and 430813 files in stable database (Mon Mar 4 17:53:49 2019)