wok-next diff tidy-html5/receipt @ rev 20889

Check Repology info from y* to z* packages: complete
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sun Jul 15 10:27:39 2018 +0300 (2018-07-15)
parents 0e7893ac206d
children f48456621a9d
line diff
     1.1 --- a/tidy-html5/receipt	Sat Feb 24 16:17:33 2018 +0200
     1.2 +++ b/tidy-html5/receipt	Sun Jul 15 10:27:39 2018 +0300
     1.3 @@ -1,24 +1,35 @@
     1.4  # SliTaz package receipt v2.
     1.5  
     1.6  PACKAGE="tidy-html5"
     1.7 -VERSION="5.1.25"
     1.8 +VERSION="5.4.0"
     1.9  CATEGORY="development"
    1.10  SHORT_DESC="The granddaddy of HTML tools, with support for modern standards"
    1.11  MAINTAINER="al.bobylev@gmail.com"
    1.12  LICENSE="MIT"
    1.13  WEB_SITE="http://www.htacg.org/tidy-html5/"
    1.14 +LFS="http://www.linuxfromscratch.org/blfs/view/stable/general/tidy-html5.html"
    1.15  
    1.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.17 -WGET_URL="https://github.com/htacg/tidy-html5/archive/$VERSION.tar.gz"
    1.18 +WGET_URL="https://github.com/htacg/tidy-html5/releases/download/$VERSION/$TARBALL"
    1.19  
    1.20  BUILD_DEPENDS="cmake libxslt"
    1.21 +SPLIT="tidy-html5-dev"
    1.22  
    1.23  compile_rules() {
    1.24  	cd build/cmake
    1.25 -	cmake ../.. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release &&
    1.26 -	make && make install
    1.27 +	cmake \
    1.28 +		-DCMAKE_INSTALL_PREFIX=/usr \
    1.29 +		-DCMAKE_BUILD_TYPE=Release \
    1.30 +		-DBUILD_TAB2SPACE=ON \
    1.31 +		../.. &&
    1.32 +	make &&
    1.33 +	make install &&
    1.34 +	install -v -m755 tab2space $install/usr/bin/
    1.35  }
    1.36  
    1.37  genpkg_rules() {
    1.38 -	copy @std
    1.39 +	case $PACKAGE in
    1.40 +		tidy-html5) copy @std;;
    1.41 +		*-dev)      copy @dev;;
    1.42 +	esac
    1.43  }