wok-next diff man2html/receipt @ rev 21020
Cleaning is almost finished... I should proceed to upgrades.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 02 14:15:08 2018 +0200 (2018-11-02) |
parents | d6378d455338 |
children |
line diff
1.1 --- a/man2html/receipt Thu May 10 21:12:00 2018 +0300 1.2 +++ b/man2html/receipt Fri Nov 02 14:15:08 2018 +0200 1.3 @@ -7,16 +7,15 @@ 1.4 MAINTAINER="al.bobylev@gmail.com" 1.5 LICENSE="BSD" 1.6 WEB_SITE="https://github.com/man-pages-zh/man2html" 1.7 + 1.8 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.9 WGET_URL="https://github.com/man-pages-zh/man2html/archive/$VERSION.tar.gz" 1.10 1.11 -DEPENDS="glib" 1.12 -BUILD_DEPENDS="glib-dev gettext-tools" 1.13 +BUILD_DEPENDS="glib-dev gettext" 1.14 1.15 -# Rules to configure and make the package. 1.16 -compile_rules() 1.17 -{ 1.18 - make && make install 1.19 +compile_rules() { 1.20 + make && 1.21 + make install || return 1 1.22 1.23 # translations 1.24 make pot 1.25 @@ -36,8 +35,7 @@ 1.26 chmod a+x $install/var/www/man.cgi 1.27 } 1.28 1.29 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.30 -genpkg_rules() 1.31 -{ 1.32 +genpkg_rules() { 1.33 cp -a $install/* $fs 1.34 + DEPENDS="glib" 1.35 }