wok-next view tidy-html5/receipt @ rev 20976
Follow recent changes in the Python renames
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Sep 25 17:35:51 2018 +0300 (2018-09-25) |
parents | 0e7893ac206d |
children | f48456621a9d |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="tidy-html5"
4 VERSION="5.4.0"
5 CATEGORY="development"
6 SHORT_DESC="The granddaddy of HTML tools, with support for modern standards"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="MIT"
9 WEB_SITE="http://www.htacg.org/tidy-html5/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/general/tidy-html5.html"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="https://github.com/htacg/tidy-html5/releases/download/$VERSION/$TARBALL"
15 BUILD_DEPENDS="cmake libxslt"
16 SPLIT="tidy-html5-dev"
18 compile_rules() {
19 cd build/cmake
20 cmake \
21 -DCMAKE_INSTALL_PREFIX=/usr \
22 -DCMAKE_BUILD_TYPE=Release \
23 -DBUILD_TAB2SPACE=ON \
24 ../.. &&
25 make &&
26 make install &&
27 install -v -m755 tab2space $install/usr/bin/
28 }
30 genpkg_rules() {
31 case $PACKAGE in
32 tidy-html5) copy @std;;
33 *-dev) copy @dev;;
34 esac
35 }