wok view manserver/receipt @ rev 25485
BootProg/fat32: active fat support
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Nov 01 16:13:12 2022 +0000 (2022-11-01) |
parents | eeba7ab1dffe |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="manserver"
4 VERSION="1.08"
5 CATEGORY="development"
6 SHORT_DESC="Man to HTML converter which can act as an HTTP server on port 8888"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="custom"
9 WEB_SITE="https://web.archive.org/web/20160326063337/http://www.squarebox.co.uk/users/rolf/download/manServer.shtml"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="http://www.squarebox.co.uk/download/$TARBALL"
13 DEPENDS="perl" #also can use busybox to extract gz, bz2 or xz man pages
15 # What is the latest version available today?
16 current_version()
17 {
18 wget -O - https://raw.githubusercontent.com/silviuvulcan/manServer/master/manServer.txt 2>/dev/null | \
19 sed '/([0-9]*\.[0-9]*)/!d;s|.*(||;s|).*||;q'
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 mkdir -p $fs/usr/bin $fs/usr/share/licenses $fs/usr/share/man/man1 $fs/etc/init.d
26 cd $src; patch -p0 -i $stuff/manserver-1.08-add-xz.patch
27 install -Dm755 $src/manServer.pl $fs/usr/bin/manServer
28 install -Dm755 $stuff/manserver $fs/usr/bin/manserver
29 install -Dm644 $src/LICENSE $fs/usr/share/licenses/manserver.txt
30 install -Dm644 $src/manServer.1 $fs/usr/share/man/man1
31 install -Dm644 $stuff/manpath.config $fs/etc/manpath.config
32 ln -s daemon $fs/etc/init.d/manserver
33 }