wok-next annotate man2html/receipt @ rev 20866

mono: fix build by not enabling Spectre mitigation
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sun Jul 01 23:19:43 2018 +0300 (2018-07-01)
parents 1380bdd8d71c
children d5aab818505e
rev   line source
al@18840 1 # SliTaz package receipt.
al@18840 2
al@18840 3 PACKAGE="man2html"
al@18841 4 VERSION="1.6g-7"
al@18840 5 CATEGORY="utilities"
al@18840 6 SHORT_DESC="Man pages to HTML convertor written in C"
al@18840 7 MAINTAINER="al.bobylev@gmail.com"
al@18840 8 LICENSE="BSD"
al@18840 9 WEB_SITE="https://github.com/man-pages-zh/man2html"
al@18840 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
al@18840 11 WGET_URL="https://github.com/man-pages-zh/man2html/archive/$VERSION.tar.gz"
al@18840 12
al@18840 13 DEPENDS="glib"
pascal@20227 14 BUILD_DEPENDS="glib-dev gettext-tools"
al@18840 15
al@18840 16 # Rules to configure and make the package.
al@18840 17 compile_rules()
al@18840 18 {
al@18840 19 make && make install
al@18840 20
al@18840 21 # translations
al@18840 22 make pot
al@18840 23 cp $stuff/ru.po $src/po
al@18840 24 make LINGUAS=ru msgfmt
al@18840 25 mkdir -p $install/usr/share/locale
al@18840 26 cp -a $src/po/mo/* $install/usr/share/locale
al@18840 27
al@18840 28 # compress man page
al@18840 29 gzip $install/usr/share/man/man1/man2html.1
al@18840 30
al@18840 31 # install scripts
al@18840 32 cp -a $src/hman.sh $install/usr/bin/hman
al@18840 33 mkdir -p $install/var/www
al@18840 34 cp -a $src/man.sh $install/var/www/man.cgi
al@18840 35 chown www:www $install/var/www/man.cgi
al@18840 36 chmod a+x $install/var/www/man.cgi
al@18840 37 }
al@18840 38
al@18840 39 # Rules to gen a SliTaz package suitable for Tazpkg.
al@18840 40 genpkg_rules()
al@18840 41 {
al@18840 42 cp -a $install/* $fs
al@18840 43 }