SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "manserver"

# SliTaz package receipt.

PACKAGE="manserver"
VERSION="1.08"
CATEGORY="development"
SHORT_DESC="Man to HTML converter which can act as an HTTP server on port 8888"
MAINTAINER="al.bobylev@gmail.com"
LICENSE="custom"
WEB_SITE="https://web.archive.org/web/20160326063337/http://www.squarebox.co.uk/users/rolf/download/manServer.shtml"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WGET_URL="http://www.squarebox.co.uk/download/$TARBALL"

DEPENDS="perl" #also can use busybox to extract gz, bz2 or xz man pages

# What is the latest version available today?
current_version()
{
    wget -O - https://raw.githubusercontent.com/silviuvulcan/manServer/master/manServer.txt 2>/dev/null | \
    sed '/([0-9]*\.[0-9]*)/!d;s|.*(||;s|).*||;q'
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/bin $fs/usr/share/licenses $fs/usr/share/man/man1 $fs/etc/init.d
    cd $src; patch -p0 -i $stuff/manserver-1.08-add-xz.patch
    install -Dm755 $src/manServer.pl $fs/usr/bin/manServer
    install -Dm755 $stuff/manserver $fs/usr/bin/manserver
    install -Dm644 $src/LICENSE $fs/usr/share/licenses/manserver.txt
    install -Dm644 $src/manServer.1 $fs/usr/share/man/man1
    install -Dm644 $stuff/manpath.config $fs/etc/manpath.config
    ln -s daemon $fs/etc/init.d/manserver
}
6047 packages and 209931 files in current database (Mon Jul 1 15:25:36 2024)