Gentoo Archives: gentoo-commits

From: Sebastian Pipping <sping@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/betagarden:master commit in: net-dns/inadyn-mt/
Date: Mon, 02 Feb 2015 15:48:39
Message-Id: 1422892064.f7ef0e5e14773ccec70911792c1afac87e14db56.sping@gentoo
1 commit: f7ef0e5e14773ccec70911792c1afac87e14db56
2 Author: Sebastian Pipping <sebastian <AT> pipping <DOT> org>
3 AuthorDate: Mon Feb 2 15:47:44 2015 +0000
4 Commit: Sebastian Pipping <sping <AT> gentoo <DOT> org>
5 CommitDate: Mon Feb 2 15:47:44 2015 +0000
6 URL: http://sources.gentoo.org/gitweb/?p=proj/betagarden.git;a=commit;h=f7ef0e5e
7
8 net-dns/inadyn-mt: 02.24.44
9
10 ---
11 net-dns/inadyn-mt/inadyn-mt-02.24.44.ebuild | 52 +++++++++++++++++++++++++++++
12 1 file changed, 52 insertions(+)
13
14 diff --git a/net-dns/inadyn-mt/inadyn-mt-02.24.44.ebuild b/net-dns/inadyn-mt/inadyn-mt-02.24.44.ebuild
15 new file mode 100644
16 index 0000000..0b47aa7
17 --- /dev/null
18 +++ b/net-dns/inadyn-mt/inadyn-mt-02.24.44.ebuild
19 @@ -0,0 +1,52 @@
20 +# Copyright 1999-2011 Gentoo Foundation
21 +# Distributed under the terms of the GNU General Public License v2
22 +# $Header: $
23 +
24 +EAPI="3"
25 +
26 +inherit user eutils
27 +
28 +MY_P="${PN}.v.${PV}"
29 +DESCRIPTION="Dynamic DNS (DynDNS) Update daemon in C that supports multiple services"
30 +HOMEPAGE="http://sourceforge.net/projects/inadyn-mt"
31 +SRC_URI="mirror://sourceforge/${PN}/${PN}/${MY_P}/${MY_P}.tar.gz"
32 +
33 +LICENSE="|| ( GPL-2 GPL-3 )"
34 +SLOT="0"
35 +KEYWORDS="~amd64 ~x86"
36 +IUSE=""
37 +
38 +RDEPEND="media-libs/libao"
39 +DEPEND="${RDEPEND}"
40 +
41 +S="${WORKDIR}"/${MY_P}
42 +
43 +pkg_setup() {
44 + enewuser ${PN}
45 +}
46 +
47 +src_prepare() {
48 + rm -R bin || die
49 +
50 + # inadyn-mt comes with outdated inadyn man pages - see inadyn-mt bug 2445206
51 + rm man/inadyn.8
52 + rm man/inadyn.conf.5
53 +}
54 +
55 +src_install() {
56 + # dodir /usr/share || die
57 + emake DESTDIR="${D}" INSTALL_PREFIX="${D}"/usr/share install || die
58 +
59 + dodoc ChangeLog NEWS README NOTICE AUTHORS || die
60 + dohtml readme.html || die
61 +
62 + newinitd "${FILESDIR}"/${PN}.initd ${PN} || die
63 + insinto /etc
64 + doins "${FILESDIR}"/${PN}.conf || die
65 +}
66 +
67 +pkg_postinst() {
68 + elog "You will need to edit /etc/inadyn-mt.conf before running inadyn-mt"
69 + elog "for the first time. The format is basically the same as the"
70 + elog "command line options; see inadyn-mt and inadyn-mt.conf manpages."
71 +}