wok-current view man2html/receipt @ rev 22336
updated zvbi and zvbi-dev (0.2.33 -> 0.2.35)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Nov 15 16:30:46 2019 +0100 (2019-11-15) |
parents | 27b321c14ae7 |
children | 5ea0ce1cecc0 |
line source
1 # SliTaz package receipt.
3 PACKAGE="man2html"
4 VERSION="1.6g-7"
5 CATEGORY="utilities"
6 SHORT_DESC="Man pages to HTML convertor written in C"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="BSD"
9 WEB_SITE="https://github.com/man-pages-zh/man2html"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="https://github.com/man-pages-zh/man2html/archive/$VERSION.tar.gz"
13 DEPENDS="glib"
14 BUILD_DEPENDS="glib-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 patch -p1 -i $stuff/man2html-slitaz.diff
20 make && make install
22 # translations
23 make pot
24 cp $stuff/ru.po $src/po
25 make LINGUAS=ru msgfmt
26 mkdir -p $install/usr/share/locale
27 cp -a $src/po/mo/* $install/usr/share/locale
29 # compress man page
30 gzip $install/usr/share/man/man1/man2html.1
32 # install scripts
33 cp -a $src/hman.sh $install/usr/bin/hman
34 mkdir -p $install/var/www
35 cp -a $src/man.sh $install/var/www/man.cgi
36 chown www:www $install/var/www/man.cgi
37 chmod a+x $install/var/www/man.cgi
38 }
40 # Rules to gen a SliTaz package suitable for Tazpkg.
41 genpkg_rules()
42 {
43 cp -a $install/* $fs
44 }