1 |
commit: 62eee4d233f05ec0ebb48d952b15a858f9b061cb |
2 |
Author: Louis Sautier <sbraz <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Dec 30 15:09:44 2018 +0000 |
4 |
Commit: Louis Sautier <sbraz <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Dec 30 15:14:18 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=62eee4d2 |
7 |
|
8 |
net-irc/eggdrop: bump to 1.8.4, fixes build issues |
9 |
|
10 |
https://github.com/eggheads/eggdrop/issues/526 and |
11 |
https://github.com/eggheads/eggdrop/issues/527 have been fixed in this |
12 |
release so we can remove the associated workarounds. |
13 |
|
14 |
Package-Manager: Portage-2.3.53, Repoman-2.3.12 |
15 |
Signed-off-by: Louis Sautier <sbraz <AT> gentoo.org> |
16 |
|
17 |
net-irc/eggdrop/Manifest | 1 + |
18 |
net-irc/eggdrop/eggdrop-1.8.4.ebuild | 70 ++++++++++++++++++++++++++++++++++++ |
19 |
2 files changed, 71 insertions(+) |
20 |
|
21 |
diff --git a/net-irc/eggdrop/Manifest b/net-irc/eggdrop/Manifest |
22 |
index 20899ea1de2..e6a4928422b 100644 |
23 |
--- a/net-irc/eggdrop/Manifest |
24 |
+++ b/net-irc/eggdrop/Manifest |
25 |
@@ -1 +1,2 @@ |
26 |
DIST eggdrop-1.8.3.tar.gz 1756536 BLAKE2B c2693bc383e1d857fe784d54f34479e73902064196021788ddf21f0bb2910977c643d820d2f6b640bb459b2acbfad8158fc0b29b4d76c588dfd76fee09a6fa25 SHA512 ad3b93d18aaa05d0eb00f1089b68d1f077f316042e64fff511ad1bbac06d35105adcb503490faaac4c9fe720dd45a9f350115b6c5d0f41fe198f228213a7a3a3 |
27 |
+DIST eggdrop-1.8.4.tar.gz 1784738 BLAKE2B a86cdc681ebd9c779b7da20f80ff312e4fc848e0cb0a0b9fa34941c91e1b89db1430126e3d0b94c7b4346c0bde099a6ddd343270943570744c46fc4ddd451540 SHA512 d08af09dc83045bf89eae957e7817591f16456f83ba3efe6b361fd421a3d4068348543275c26b27b006f09f06344c04cdf58ee4231f1aee0e7537ec39bc24b49 |
28 |
|
29 |
diff --git a/net-irc/eggdrop/eggdrop-1.8.4.ebuild b/net-irc/eggdrop/eggdrop-1.8.4.ebuild |
30 |
new file mode 100644 |
31 |
index 00000000000..c629643aa50 |
32 |
--- /dev/null |
33 |
+++ b/net-irc/eggdrop/eggdrop-1.8.4.ebuild |
34 |
@@ -0,0 +1,70 @@ |
35 |
+# Copyright 1999-2018 Gentoo Authors |
36 |
+# Distributed under the terms of the GNU General Public License v2 |
37 |
+ |
38 |
+EAPI=7 |
39 |
+ |
40 |
+inherit readme.gentoo-r1 |
41 |
+ |
42 |
+DESCRIPTION="An IRC bot extensible with C or TCL" |
43 |
+HOMEPAGE="https://www.eggheads.org/" |
44 |
+SRC_URI="https://ftp.eggheads.org/pub/eggdrop/source/${PV:0:3}/${P}.tar.gz" |
45 |
+ |
46 |
+KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~mips ~ppc ~sparc ~x86" |
47 |
+LICENSE="GPL-2+" |
48 |
+SLOT="0" |
49 |
+IUSE="debug doc ipv6 ssl static" |
50 |
+ |
51 |
+DEPEND=" |
52 |
+ dev-lang/tcl:0= |
53 |
+ ssl? ( dev-libs/openssl:0= ) |
54 |
+" |
55 |
+RDEPEND=" |
56 |
+ sys-apps/gentoo-functions |
57 |
+ ${DEPEND} |
58 |
+" |
59 |
+ |
60 |
+DOCS=( AUTHORS FEATURES INSTALL NEWS README THANKS UPGRADING ) |
61 |
+ |
62 |
+src_configure() { |
63 |
+ econf $(use_enable ssl tls) \ |
64 |
+ $(use_enable ipv6 ipv6) |
65 |
+ |
66 |
+ emake config |
67 |
+} |
68 |
+ |
69 |
+src_compile() { |
70 |
+ local target |
71 |
+ |
72 |
+ if use static && use debug; then |
73 |
+ target="sdebug" |
74 |
+ elif use static; then |
75 |
+ target="static" |
76 |
+ elif use debug; then |
77 |
+ target="debug" |
78 |
+ fi |
79 |
+ |
80 |
+ emake ${target} |
81 |
+} |
82 |
+ |
83 |
+src_install() { |
84 |
+ emake DEST="${D}"/opt/eggdrop install |
85 |
+ |
86 |
+ use doc && HTML_DOCS=( doc/html/. ) |
87 |
+ rm -r "${D}"/opt/eggdrop/doc/html || die |
88 |
+ DOC_CONTENTS=" |
89 |
+ Additional documentation can be found |
90 |
+ in ${EPREFIX}/opt/eggdrop/doc |
91 |
+ " |
92 |
+ readme.gentoo_create_doc |
93 |
+ einstalldocs |
94 |
+ |
95 |
+ dobin "${FILESDIR}"/eggdrop-installer |
96 |
+ doman doc/man1/eggdrop.1 |
97 |
+} |
98 |
+ |
99 |
+pkg_postinst() { |
100 |
+ # Only display this for new installs |
101 |
+ if [[ -z ${REPLACING_VERSIONS} ]]; then |
102 |
+ elog "Please run ${EPREFIX}/usr/bin/eggdrop-installer to install your eggdrop bot." |
103 |
+ fi |
104 |
+} |