wok-current view manserver/receipt @ rev 19712
podofo: disble lua
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Feb 15 17:57:05 2017 +0100 (2017-02-15) |
parents | |
children | eeba7ab1dffe |
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="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 }