Magellan Linux

Contents of /branches/R11-unstable/extras/htmltidy/htmltidy-5.4.0-r2.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 32735 - (show annotations) (download)
Mon Apr 29 13:32:57 2019 UTC (5 years ago) by niro
File size: 702 byte(s)
-release branches/R11-unstable
1 # $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 }