wok annotate manserver/receipt @ rev 24605

Add zmap
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Mar 02 15:59:03 2022 +0000 (2022-03-02)
parents 4466c09bba16
children 2048be385116
rev   line source
al@17260 1 # SliTaz package receipt.
al@17260 2
al@17260 3 PACKAGE="manserver"
al@17260 4 VERSION="1.08"
al@17260 5 CATEGORY="development"
al@17260 6 SHORT_DESC="Man to HTML converter which can act as an HTTP server on port 8888"
al@17260 7 MAINTAINER="al.bobylev@gmail.com"
al@17260 8 LICENSE="custom"
pascal@20674 9 WEB_SITE="https://web.archive.org/web/20160326063337/http://www.squarebox.co.uk/users/rolf/download/manServer.shtml"
al@17260 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
al@17260 11 WGET_URL="http://www.squarebox.co.uk/download/$TARBALL"
al@17260 12
al@17260 13 DEPENDS="perl" #also can use busybox to extract gz, bz2 or xz man pages
al@17260 14
al@17260 15 # Rules to gen a SliTaz package suitable for Tazpkg.
al@17260 16 genpkg_rules()
al@17260 17 {
al@17260 18 mkdir -p $fs/usr/bin $fs/usr/share/licenses $fs/usr/share/man/man1 $fs/etc/init.d
al@17260 19 cd $src; patch -p0 -i $stuff/manserver-1.08-add-xz.patch
al@17260 20 install -Dm755 $src/manServer.pl $fs/usr/bin/manServer
al@17260 21 install -Dm755 $stuff/manserver $fs/usr/bin/manserver
al@17260 22 install -Dm644 $src/LICENSE $fs/usr/share/licenses/manserver.txt
al@17260 23 install -Dm644 $src/manServer.1 $fs/usr/share/man/man1
al@17260 24 install -Dm644 $stuff/manpath.config $fs/etc/manpath.config
al@17260 25 ln -s daemon $fs/etc/init.d/manserver
al@17260 26 }