SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "busybox-httpd-ctrl"

# SliTaz package receipt.

PACKAGE="busybox-httpd-ctrl"
VERSION="1.0"
CATEGORY="network"
SHORT_DESC="Add menu entry to control the Busybox Httpd Web Server."
MAINTAINER="hackdorte@sapo.pt"
LICENSE="GPL2"
WEB_SITE="https://busybox.net/"

TAGS="busybox control web server"

DEPENDS="busybox"
BUILD_DEPENDS=""

# Rules to configure and make the package.
compile_rules()
{

    mkdir -p $install/usr/bin
    mkdir -p $install/usr/share/applications

}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{

    cp -a $stuff/usr/bin/httpd-start.txt \
    $install/usr/bin/httpd-ctrl-start

    cp -a $stuff/usr/bin/httpd-stop.txt \
    $install/usr/bin/httpd-ctrl-stop

    cp -a $stuff/usr/share/applications/* \
    $install/usr/share/applications

    cp -a $install/* $fs/

}

post_install()
{

    chmod +x $1/usr/bin/httpd-ctrl-start
    chmod +x $1/usr/bin/httpd-ctrl-stop

}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)