wok-current annotate manserver/receipt @ rev 18813

python-docopt (update receipt)
author Paul Issott <paul@slitaz.org>
date Thu Jan 14 20:21:12 2016 +0000 (2016-01-14)
parents
children eeba7ab1dffe
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"
al@17260 9 WEB_SITE="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 }