summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Pipping <sping@gentoo.org>2015-08-12 20:37:02 +0200
committerSebastian Pipping <sping@gentoo.org>2015-08-12 20:37:43 +0200
commitafa9d2160693a8f71d0b254f390ab552cae055a0 (patch)
treed380947f9f62c5af0fe741e452688fb141ef9e58 /app-text/rnv/rnv-1.7.11-r1.ebuild
parentsys-libs/libcap-ng: x86 stable wrt bug #556872 (diff)
downloadgentoo-afa9d2160693a8f71d0b254f390ab552cae055a0.tar.gz
gentoo-afa9d2160693a8f71d0b254f390ab552cae055a0.tar.bz2
gentoo-afa9d2160693a8f71d0b254f390ab552cae055a0.zip
app-text/rnv: Unlock scheme support
Package-Manager: portage-2.2.20 Signed-off-by: Sebastian Pipping <sping@gentoo.org>
Diffstat (limited to 'app-text/rnv/rnv-1.7.11-r1.ebuild')
-rw-r--r--app-text/rnv/rnv-1.7.11-r1.ebuild34
1 files changed, 34 insertions, 0 deletions
diff --git a/app-text/rnv/rnv-1.7.11-r1.ebuild b/app-text/rnv/rnv-1.7.11-r1.ebuild
new file mode 100644
index 000000000000..fb78f669907c
--- /dev/null
+++ b/app-text/rnv/rnv-1.7.11-r1.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+inherit unpacker toolchain-funcs
+
+DESCRIPTION="A lightweight Relax NG Compact Syntax validator"
+HOMEPAGE="http://www.davidashen.net/rnv.html"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.xz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="scheme"
+
+RDEPEND="dev-libs/expat
+ dev-scheme/scm[libscm]"
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+ sed -i -e "/^AR/s/ar/$(tc-getAR)/" Makefile.in || die 'sed on Makefile.in failed'
+}
+
+src_configure() {
+ LIBS="-ldl -lm" \
+ econf $(use_with scheme scm /usr)
+}
+
+src_install() {
+ default
+ dodoc readme.txt
+}