wok-next view man2html/receipt @ rev 20730
glib: up (2.56.1) with static libs and Python2
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue May 29 15:17:41 2018 +0300 (2018-05-29) |
parents | 1380bdd8d71c |
children | d5aab818505e |
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 gettext-tools"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 make && make install
21 # translations
22 make pot
23 cp $stuff/ru.po $src/po
24 make LINGUAS=ru msgfmt
25 mkdir -p $install/usr/share/locale
26 cp -a $src/po/mo/* $install/usr/share/locale
28 # compress man page
29 gzip $install/usr/share/man/man1/man2html.1
31 # install scripts
32 cp -a $src/hman.sh $install/usr/bin/hman
33 mkdir -p $install/var/www
34 cp -a $src/man.sh $install/var/www/man.cgi
35 chown www:www $install/var/www/man.cgi
36 chmod a+x $install/var/www/man.cgi
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 cp -a $install/* $fs
43 }