wok-next diff doxygen/receipt @ rev 20663

Fix web site for the Shimmer Project themes
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu May 10 22:58:32 2018 +0300 (2018-05-10)
parents f463de72afe3
children 7c5d038be95b
line diff
     1.1 --- a/doxygen/receipt	Sun Jun 18 04:38:10 2017 +0300
     1.2 +++ b/doxygen/receipt	Thu May 10 22:58:32 2018 +0300
     1.3 @@ -1,41 +1,37 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="doxygen"
     1.8  VERSION="1.8.11"
     1.9  CATEGORY="development"
    1.10 -SHORT_DESC="Source code documentation generator tool."
    1.11 +SHORT_DESC="Source code documentation generator tool"
    1.12  MAINTAINER="pascal.bellard@slitaz.org"
    1.13  LICENSE="GPL2"
    1.14  WEB_SITE="http://www.stack.nl/~dimitri/doxygen/"
    1.15 -TAGS="language documentation"
    1.16  
    1.17  TARBALL="$PACKAGE-$VERSION.src.tar.gz"
    1.18  WGET_URL="http://ftp.stack.nl/pub/doxygen/$TARBALL"
    1.19  
    1.20  BUILD_DEPENDS="cmake python" # graphviz
    1.21  
    1.22 -# Rules to configure and make the package.
    1.23 -compile_rules()
    1.24 -{
    1.25 -	mkdir build &&
    1.26 -	cd    build &&
    1.27 +compile_rules() {
    1.28 +	mkdir build
    1.29 +	cd    build
    1.30  
    1.31  	cmake -G "Unix Makefiles" \
    1.32  		-DCMAKE_BUILD_TYPE=Release \
    1.33  		-DCMAKE_INSTALL_PREFIX=/usr \
    1.34  		.. &&
    1.35  	make &&
    1.36 -	make install &&
    1.37 +	make install || return 1
    1.38  
    1.39 -	mkdir -p $install/usr/share/man/man1 &&
    1.40 +	mkdir -p $install/usr/share/man/man1
    1.41  	for i in ../doc/*.1; do
    1.42  		sed "s|@VERSION@|$VERSION|g; s|@DATE@|$(date +%Y)|g" $i > \
    1.43 -			$install/usr/share/man/man1
    1.44 +			$install/usr/share/man/man1/${i##*/}
    1.45  	done
    1.46  }
    1.47  
    1.48 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.49 -genpkg_rules()
    1.50 -{
    1.51 +genpkg_rules() {
    1.52  	copy bin/
    1.53 +	TAGS="language documentation"
    1.54  }