commit:     08e048738985e51444a38ebc5222e232c042c00c
Author:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Sat Apr 17 18:06:59 2021 +0000
Commit:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Sat Apr 17 19:19:26 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=08e04873

net-dialup/sendpage: migrate to glep 81

Closes: https://bugs.gentoo.org/781371
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>

 net-dialup/sendpage/sendpage-1.1.0-r4.ebuild | 42 ++++++++++++++++++++++++++++
 1 file changed, 42 insertions(+)

diff --git a/net-dialup/sendpage/sendpage-1.1.0-r4.ebuild 
b/net-dialup/sendpage/sendpage-1.1.0-r4.ebuild
new file mode 100644
index 00000000000..d64a0d18100
--- /dev/null
+++ b/net-dialup/sendpage/sendpage-1.1.0-r4.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit perl-module
+
+MY_P=${PN}-1.001
+
+DESCRIPTION="Dialup alphapaging software"
+HOMEPAGE="https://www.sendpage.org/";
+SRC_URI="https://www.sendpage.org/download/${MY_P}.tar.gz";
+S="${WORKDIR}/${MY_P}"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+
+DEPEND="
+       acct-group/sms
+       acct-user/sendpage
+       dev-perl/DBI
+       dev-perl/Device-SerialPort
+       dev-perl/MailTools
+       dev-perl/Net-SNPP
+       virtual/perl-libnet
+"
+RDEPEND="${DEPEND}"
+
+PATCHES=( "${FILESDIR}"/${PV}-makefile.patch )
+
+src_install() {
+       perl-module_src_install
+       insinto /etc
+       doins sendpage.cf
+       newinitd "${FILESDIR}"/sendpage.initd sendpage
+       diropts -o sendpage -g sms -m0770
+       keepdir /var/spool/sendpage
+       docompress -x /usr/share/doc/${PF}/text/
+       docinto text/
+       dodoc docs/*
+}

Reply via email to