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
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>
-rw-r--r--app-text/rnv/Manifest1
-rw-r--r--app-text/rnv/metadata.xml5
-rw-r--r--app-text/rnv/rnv-1.7.11-r1.ebuild34
3 files changed, 40 insertions, 0 deletions
diff --git a/app-text/rnv/Manifest b/app-text/rnv/Manifest
index afa0a6ae2048..12e9e5456eae 100644
--- a/app-text/rnv/Manifest
+++ b/app-text/rnv/Manifest
@@ -1 +1,2 @@
+DIST rnv-1.7.11.tar.xz 140904 SHA256 4ab920f1e4d60841bdc17dbed72ae735bf825af8a9d9eda99165a13be7cc9de6 SHA512 e706ae6cc9b55032b23c0ce4ce728f426727c20d0291f9ea4369221c5b3d59f29ad477c6da4992a9bda7c583078498faabc06a9865081517aeac81b2d2fec212 WHIRLPOOL fb6ea2d27917557dcee74316114a80ea644b09ab499f294ae080356f774a321f0e83491842fe4c1591f105d51eda618f741ee4c61bd82632566a24413b23de6d
DIST rnv-1.7.11.zip 211316 SHA256 39ed53271f20517a55aa74ad5e393dca407e14512a31ecac4c223378bdd4a6ac SHA512 0d9457015e35177144eb88f6d6234e8d94c3a5a45f26f961b4aaba892bf92c0ddcaf0e037cf3fbbeecf110399760e182c20973e6ba32d1223d2f82600582a28e WHIRLPOOL fe82f65b68e55a7f607d7fb0cc200e83e6882c71226095894615822e68d06e20aebb85e80028edd3c5d4881f47779e42a26947d03757c1391ff8a1dc1a5ab175
diff --git a/app-text/rnv/metadata.xml b/app-text/rnv/metadata.xml
index 64bd34360c45..f9d73871b422 100644
--- a/app-text/rnv/metadata.xml
+++ b/app-text/rnv/metadata.xml
@@ -11,4 +11,9 @@
<upstream>
<remote-id type="sourceforge">rnv</remote-id>
</upstream>
+ <use>
+ <flag name="scheme">
+ Enable scheme support based on <pkg>dev-scheme/scm</pkg>
+ </flag>
+ </use>
</pkgmetadata>
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
+}