blob: 6220f310982c38fe9783529094713fc54e283b9b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
inherit cmake-utils
DESCRIPTION="Tidy the layout and correct errors in HTML, HTML5 and XML documents"
HOMEPAGE="http://www.html-tidy.org/"
SRC_URI="https://github.com/htacg/${PN}/archive/${PV}.zip -> ${P}.zip"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
IUSE=""
DEPEND=""
RDEPEND="!app-text/htmltidy"
S="${WORKDIR}/${P}"
DOCS=( README/{CODESTYLE,README,CONTRIBUTING,LICENSE,VERSION}.md )
HTML_DOCS=( README/README.html )
BUILD_DIR="${S}/build/cmake"
src_configure() {
local mycmakeargs=(
-DCMAKE_INSTALL_PREFIX=/usr
-DCMAKE_BUILD_TYPE=Release
)
cmake-utils_src_configure
}
src_compile() {
cd build/cmake || die
cmake-utils_src_compile
}
src_install() {
cmake-utils_src_install
}
|