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 --- net-misc/spread/spread-4.3.0-r1.ebuild | 38 ++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 net-misc/spread/spread-4.3.0-r1.ebuild (limited to 'net-misc/spread/spread-4.3.0-r1.ebuild') diff --git a/net-misc/spread/spread-4.3.0-r1.ebuild b/net-misc/spread/spread-4.3.0-r1.ebuild new file mode 100644 index 000000000000..06bbce63e1c6 --- /dev/null +++ b/net-misc/spread/spread-4.3.0-r1.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" +inherit user + +MY_PN="spread-src" + +DESCRIPTION="Distributed network messaging system" +HOMEPAGE="http://www.spread.org" +SRC_URI="mirror://gentoo/${MY_PN}-${PV}.tar.gz" + +LICENSE="Spread-1.0 GPL-2" +SLOT="0" +KEYWORDS="~x86 ~amd64" +IUSE="" + +DEPEND="" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${MY_PN}-${PV}" + +pkg_setup() { + enewuser spread + enewgroup spread +} + +src_prepare() { + default + + # don't strip binaries + sed -i -e 's/0755 -s/0755/g' daemon/Makefile.in examples/Makefile.in +} + +src_install() { + emake DESTDIR="${D}" docdir="/usr/share/doc/${PF}" install + newinitd "${FILESDIR}"/spread.init.d spread +} -- cgit v1.2.3