# Copyright 1999-2008 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.2 2008/10/27 19:14:22 opfer 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 }