wok-next annotate tidy-html5/receipt @ rev 21727

created recipe for vbindiff
author Hans-G?nter Theisgen
date Sat Nov 21 14:32:44 2020 +0100 (2020-11-21)
parents f48456621a9d
children
rev   line source
al@20443 1 # SliTaz package receipt v2.
al@18686 2
al@18686 3 PACKAGE="tidy-html5"
al@20647 4 VERSION="5.4.0"
al@18686 5 CATEGORY="development"
al@18686 6 SHORT_DESC="The granddaddy of HTML tools, with support for modern standards"
al@18686 7 MAINTAINER="al.bobylev@gmail.com"
al@18686 8 LICENSE="MIT"
al@18686 9 WEB_SITE="http://www.htacg.org/tidy-html5/"
al@21017 10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/general/tidy-html5.html"
al@20443 11
al@18686 12 TARBALL="$PACKAGE-$VERSION.tar.gz"
al@20647 13 WGET_URL="https://github.com/htacg/tidy-html5/releases/download/$VERSION/$TARBALL"
al@18686 14
al@18686 15 BUILD_DEPENDS="cmake libxslt"
al@21020 16 SPLIT="$PACKAGE-dev"
al@18686 17
al@20443 18 compile_rules() {
al@18686 19 cd build/cmake
al@20647 20 cmake \
al@20647 21 -DCMAKE_INSTALL_PREFIX=/usr \
al@20647 22 -DCMAKE_BUILD_TYPE=Release \
al@20647 23 -DBUILD_TAB2SPACE=ON \
al@20647 24 ../.. &&
al@20647 25 make &&
al@20647 26 make install &&
al@20647 27 install -v -m755 tab2space $install/usr/bin/
al@18686 28 }
al@18686 29
al@20443 30 genpkg_rules() {
al@20647 31 case $PACKAGE in
al@20647 32 tidy-html5) copy @std;;
al@20647 33 *-dev) copy @dev;;
al@20647 34 esac
al@18686 35 }