blob: 1cfc4651b445d7dead4ea5496db54fd3423a935c (
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
|
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-text/rnv/rnv-1.7.8-r2.ebuild,v 1.4 2010/04/09 08:09:18 hwoarang Exp $
inherit eutils toolchain-funcs
DESCRIPTION="A lightweight Relax NG Compact Syntax validator"
HOMEPAGE="http://www.davidashen.net/rnv.html"
SRC_URI="http://ftp.davidashen.net/PreTI/RNV/${P}.zip"
LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 ~ppc x86"
IUSE=""
RDEPEND="dev-libs/expat"
DEPEND="${RDEPEND}
app-arch/unzip"
src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}/${P}-respect-CFLAGS_and_CC.patch"
}
src_compile() {
CC=$(tc-getCC) emake -j1 -f Makefile.gnu || die
}
src_install() {
dobin rnv rvp arx
dodoc readme.txt
}
|