diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /net-misc/pmsvn/pmsvn-1.0.7.ebuild |
reinit the tree, so we can have metadata
Diffstat (limited to 'net-misc/pmsvn/pmsvn-1.0.7.ebuild')
-rw-r--r-- | net-misc/pmsvn/pmsvn-1.0.7.ebuild | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/net-misc/pmsvn/pmsvn-1.0.7.ebuild b/net-misc/pmsvn/pmsvn-1.0.7.ebuild new file mode 100644 index 000000000000..61cd9070c9d9 --- /dev/null +++ b/net-misc/pmsvn/pmsvn-1.0.7.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +DESCRIPTION="Server's configuration management and monitoring tool" +HOMEPAGE="https://sourceforge.net/projects/pmsvn/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tgz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="" +RDEPEND="net-analyzer/nrpe + >=app-shells/bash-4.0_p37 + >=sys-apps/sed-4.2 + >=dev-vcs/subversion-1.6.9" + +S="${WORKDIR}" + +src_prepare() { + # move configuration file from /etc/${PN}.conf to /etc/${PN}/${PN}.conf + sed -i "/etc\/${PN}.conf/s:etc/${PN}.conf:etc/${PN}/${PN}.conf:" ${PN} \ + || die "failed to fix path for configuration file" +} + +src_install() { + dosbin "${PN}" + dodoc README + insinto /etc/${PN}/ + doins pmsvn.conf.sample +} |