wok-next view tidy-html5/receipt @ rev 21627

updated enet (1.2.1 -> 1.3.15)
author Hans-G?nter Theisgen
date Thu Jun 25 16:07:08 2020 +0100 (2020-06-25)
parents f48456621a9d
children
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/svn/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="$PACKAGE-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 }