Annotation of /trunk/extras/htmltidy/htmltidy-5.4.0-r2.smage2
Parent Directory | Revision Log
Revision 30126 -
(hide annotations)
(download)
Fri Oct 27 09:02:16 2017 UTC (6 years, 11 months ago) by niro
File size: 702 byte(s)
Fri Oct 27 09:02:16 2017 UTC (6 years, 11 months ago) by niro
File size: 702 byte(s)
-rebuild to apply new fixes of cmake.sminclude
1 | niro | 30126 | # $Id$ |
2 | |||
3 | PNAME="htmltidy" | ||
4 | PVER="5.4.0" | ||
5 | PBUILD="r2" | ||
6 | |||
7 | PCAT="app-text" | ||
8 | |||
9 | DESCRIPTION="Tidy the layout and correct errors in HTML and XML documents." | ||
10 | HOMEPAGE="http://www.html-tidy.org/" | ||
11 | |||
12 | DEPEND=">= virtual/glibc" | ||
13 | SDEPEND="> dev-lib/libxslt-1.1" | ||
14 | |||
15 | SRCFILE="${PVER}.tar.gz" | ||
16 | SRCDIR="${BUILDDIR}/tidy-html5-${PVER}" | ||
17 | |||
18 | sminclude cmake mtools | ||
19 | |||
20 | SRC_URI=( | ||
21 | https://github.com/htacg/tidy-html5/archive/${SRCFILE} | ||
22 | mirror://${PNAME}/${SRCFILE} | ||
23 | ) | ||
24 | |||
25 | # fake | ||
26 | UP2DATE="updatecmd https://github.com/htacg/tidy-html5/releases | highesttarball gz" | ||
27 | |||
28 | src_install() | ||
29 | { | ||
30 | cmake_src_install || die | ||
31 | |||
32 | # provide some compat symlinks | ||
33 | mlink tidybuffio.h /usr/include/buffio.h || die | ||
34 | mlink tidyplatform.h /usr/include/platform.h || die | ||
35 | } |