wok view manserver/receipt @ rev 24768
libwebkit: bison 3 fix
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Mar 19 12:46:44 2022 +0000 (2022-03-19) |
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 }