blob: 4bb3b79f8b9bb6c77970ff1e8acd2f2081c13d49 (
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
|
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-libs/libhubbub/libhubbub-0.3.0.ebuild,v 1.2 2014/11/12 23:01:37 slyfox Exp $
EAPI=5
inherit netsurf
DESCRIPTION="HTML5 compliant parsing library, written in C"
HOMEPAGE="http://www.netsurf-browser.org/projects/hubbub/"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm ~m68k-mint"
IUSE="doc test"
RDEPEND=">=dev-libs/libparserutils-0.2.0[static-libs?,${MULTILIB_USEDEP}]
!net-libs/hubbub"
DEPEND="${RDEPEND}
test? ( dev-lang/perl
>=dev-libs/json-c-0.10-r1[${MULTILIB_USEDEP}] )"
#PATCHES=( "${FILESDIR}"/${P}-error.patch )
DOCS=( README docs/{Architecture,Macros,Todo,Treebuilder,Updated} )
RESTRICT=test
src_prepare() {
# glibc-2.20 introduced a warning:
# _BSD_SOURCE and _SVID_SOURCE are deprecated
sed -e 's/WARNFLAGS := $(WARNFLAGS) -Werror/# &/' \
-i Makefile || die
netsurf_src_prepare
}
|