blob: 28e2ccc40dbc18c437f365bce7dd852d1990327b (
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-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit unpacker toolchain-funcs autotools
DESCRIPTION="A lightweight Relax NG Compact Syntax validator"
HOMEPAGE="http://www.davidashen.net/rnv.html"
SRC_URI="https://downloads.sourceforge.net/${PN}/${P}.tar.xz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
RDEPEND="
dev-libs/expat
"
DEPEND="${RDEPEND}"
src_prepare() {
default
eautoreconf
sed -i -e "/^AR/s/ar/$(tc-getAR)/" Makefile.in || die 'sed on Makefile.in failed'
}
src_configure() {
# NOTE: Argument --without-scm is broken and works the same as --with-scm.
# But SCM support is disabled by default.
LIBS="-ldl -lm" econf
}
src_install() {
default
dodoc readme.txt
}
|