You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/app-text/rnv/rnv-1.7.8-r2.ebuild

34 lines
754 B

# 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
}