wok-6.x view manserver/receipt @ rev 21198

zfs-fuse: fix build
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Apr 06 14:55:40 2019 +0200 (2019-04-06)
parents 4466c09bba16
children 2048be385116
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 # Rules to gen a SliTaz package suitable for Tazpkg.
16 genpkg_rules()
17 {
18 mkdir -p $fs/usr/bin $fs/usr/share/licenses $fs/usr/share/man/man1 $fs/etc/init.d
19 cd $src; patch -p0 -i $stuff/manserver-1.08-add-xz.patch
20 install -Dm755 $src/manServer.pl $fs/usr/bin/manServer
21 install -Dm755 $stuff/manserver $fs/usr/bin/manserver
22 install -Dm644 $src/LICENSE $fs/usr/share/licenses/manserver.txt
23 install -Dm644 $src/manServer.1 $fs/usr/share/man/man1
24 install -Dm644 $stuff/manpath.config $fs/etc/manpath.config
25 ln -s daemon $fs/etc/init.d/manserver
26 }