From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- app-emulation/rex-client/rex-client-9999.ebuild | 45 +++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 app-emulation/rex-client/rex-client-9999.ebuild (limited to 'app-emulation/rex-client/rex-client-9999.ebuild') diff --git a/app-emulation/rex-client/rex-client-9999.ebuild b/app-emulation/rex-client/rex-client-9999.ebuild new file mode 100644 index 000000000000..4b6505b6105d --- /dev/null +++ b/app-emulation/rex-client/rex-client-9999.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +DESCRIPTION="Remote EXexcution agent" +HOMEPAGE="http://mduft.github.io/rex/" + +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/mduft/rex.git" +else + SRC_URI="" + KEYWORDS="~x86-linux" +fi + +LICENSE="MIT" +SLOT="0" +IUSE="" + +REX_EXE=( + "client/rex-exec.sh" + "client/rex-register.sh" + "client/rex-paths.sh" + "client/rex-remote-pconv.sh" + "client/winpath2unix" + "client/unixpath2win" + ) + +src_prepare() { + for x in ${REX_EXE[@]}; do + sed \ + -e "s,\. \${HOME}/rex-config.sh,\. ${EPREFIX}/etc/rex.conf,g" \ + -i "${x}" || die + done +} + +src_install() { + for x in ${REX_EXE[@]}; do + dobin "${S}"/${x} + done + + insinto /etc + newins client/rex-config.sh rex.conf +} -- cgit v1.2.3