commit:     f5fb502e3018a92fdea1a4a019cf05669bb650a5
Author:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Tue Jul 13 19:00:56 2021 +0000
Commit:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Tue Jul 13 20:54:59 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f5fb502e

net-misc/spread: migrate to GLEP 81

Bug: https://bugs.gentoo.org/781434
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>

 net-misc/spread/spread-4.4.1-r1.ebuild | 32 ++++++++++++++++++++++++++++++++
 net-misc/spread/spread-5.0.1-r1.ebuild | 32 ++++++++++++++++++++++++++++++++
 2 files changed, 64 insertions(+)

diff --git a/net-misc/spread/spread-4.4.1-r1.ebuild 
b/net-misc/spread/spread-4.4.1-r1.ebuild
new file mode 100644
index 00000000000..70da45c67ba
--- /dev/null
+++ b/net-misc/spread/spread-4.4.1-r1.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+MY_PN="spread-src"
+
+DESCRIPTION="Distributed network messaging system"
+HOMEPAGE="http://www.spread.org";
+SRC_URI="mirror://gentoo/${MY_PN}-${PV}.tar.gz"
+S="${WORKDIR}/${MY_PN}-${PV}"
+
+LICENSE="Spread-1.0"
+SLOT="0"
+KEYWORDS="amd64 x86"
+
+RDEPEND="
+       acct-group/spread
+       acct-user/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
+}

diff --git a/net-misc/spread/spread-5.0.1-r1.ebuild 
b/net-misc/spread/spread-5.0.1-r1.ebuild
new file mode 100644
index 00000000000..85b0f141896
--- /dev/null
+++ b/net-misc/spread/spread-5.0.1-r1.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+MY_PN="spread-src"
+
+DESCRIPTION="Distributed network messaging system"
+HOMEPAGE="http://www.spread.org";
+SRC_URI="mirror://gentoo/${MY_PN}-${PV}.tar.gz"
+S="${WORKDIR}/${MY_PN}-${PV}"
+
+LICENSE="Spread-1.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+       acct-group/spread
+       acct-user/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
+}

Reply via email to