From afa9d2160693a8f71d0b254f390ab552cae055a0 Mon Sep 17 00:00:00 2001 From: Sebastian Pipping Date: Wed, 12 Aug 2015 20:37:02 +0200 Subject: [PATCH] app-text/rnv: Unlock scheme support Package-Manager: portage-2.2.20 Signed-off-by: Sebastian Pipping --- app-text/rnv/Manifest | 1 + app-text/rnv/metadata.xml | 5 +++++ app-text/rnv/rnv-1.7.11-r1.ebuild | 34 +++++++++++++++++++++++++++++++ 3 files changed, 40 insertions(+) create mode 100644 app-text/rnv/rnv-1.7.11-r1.ebuild 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 @@ rnv + + + Enable scheme support based on dev-scheme/scm + + 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 +} -- 2.26.2