diff options
author | Louis Sautier <sbraz@gentoo.org> | 2018-12-30 16:09:44 +0100 |
---|---|---|
committer | Louis Sautier <sbraz@gentoo.org> | 2018-12-30 16:14:18 +0100 |
commit | 62eee4d233f05ec0ebb48d952b15a858f9b061cb (patch) | |
tree | 17351c972953aee14ccdcd0cdeee82864de81b03 /net-irc/eggdrop | |
parent | media-gfx/digikam: 6.0.0_beta3 version bump (diff) | |
download | gentoo-62eee4d233f05ec0ebb48d952b15a858f9b061cb.tar.gz gentoo-62eee4d233f05ec0ebb48d952b15a858f9b061cb.tar.bz2 gentoo-62eee4d233f05ec0ebb48d952b15a858f9b061cb.zip |
net-irc/eggdrop: bump to 1.8.4, fixes build issues
https://github.com/eggheads/eggdrop/issues/526 and
https://github.com/eggheads/eggdrop/issues/527 have been fixed in this
release so we can remove the associated workarounds.
Package-Manager: Portage-2.3.53, Repoman-2.3.12
Signed-off-by: Louis Sautier <sbraz@gentoo.org>
Diffstat (limited to 'net-irc/eggdrop')
-rw-r--r-- | net-irc/eggdrop/Manifest | 1 | ||||
-rw-r--r-- | net-irc/eggdrop/eggdrop-1.8.4.ebuild | 70 |
2 files changed, 71 insertions, 0 deletions
diff --git a/net-irc/eggdrop/Manifest b/net-irc/eggdrop/Manifest index 20899ea1de27..e6a4928422b7 100644 --- a/net-irc/eggdrop/Manifest +++ b/net-irc/eggdrop/Manifest @@ -1 +1,2 @@ DIST eggdrop-1.8.3.tar.gz 1756536 BLAKE2B c2693bc383e1d857fe784d54f34479e73902064196021788ddf21f0bb2910977c643d820d2f6b640bb459b2acbfad8158fc0b29b4d76c588dfd76fee09a6fa25 SHA512 ad3b93d18aaa05d0eb00f1089b68d1f077f316042e64fff511ad1bbac06d35105adcb503490faaac4c9fe720dd45a9f350115b6c5d0f41fe198f228213a7a3a3 +DIST eggdrop-1.8.4.tar.gz 1784738 BLAKE2B a86cdc681ebd9c779b7da20f80ff312e4fc848e0cb0a0b9fa34941c91e1b89db1430126e3d0b94c7b4346c0bde099a6ddd343270943570744c46fc4ddd451540 SHA512 d08af09dc83045bf89eae957e7817591f16456f83ba3efe6b361fd421a3d4068348543275c26b27b006f09f06344c04cdf58ee4231f1aee0e7537ec39bc24b49 diff --git a/net-irc/eggdrop/eggdrop-1.8.4.ebuild b/net-irc/eggdrop/eggdrop-1.8.4.ebuild new file mode 100644 index 000000000000..c629643aa509 --- /dev/null +++ b/net-irc/eggdrop/eggdrop-1.8.4.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit readme.gentoo-r1 + +DESCRIPTION="An IRC bot extensible with C or TCL" +HOMEPAGE="https://www.eggheads.org/" +SRC_URI="https://ftp.eggheads.org/pub/eggdrop/source/${PV:0:3}/${P}.tar.gz" + +KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~mips ~ppc ~sparc ~x86" +LICENSE="GPL-2+" +SLOT="0" +IUSE="debug doc ipv6 ssl static" + +DEPEND=" + dev-lang/tcl:0= + ssl? ( dev-libs/openssl:0= ) +" +RDEPEND=" + sys-apps/gentoo-functions + ${DEPEND} +" + +DOCS=( AUTHORS FEATURES INSTALL NEWS README THANKS UPGRADING ) + +src_configure() { + econf $(use_enable ssl tls) \ + $(use_enable ipv6 ipv6) + + emake config +} + +src_compile() { + local target + + if use static && use debug; then + target="sdebug" + elif use static; then + target="static" + elif use debug; then + target="debug" + fi + + emake ${target} +} + +src_install() { + emake DEST="${D}"/opt/eggdrop install + + use doc && HTML_DOCS=( doc/html/. ) + rm -r "${D}"/opt/eggdrop/doc/html || die + DOC_CONTENTS=" + Additional documentation can be found + in ${EPREFIX}/opt/eggdrop/doc + " + readme.gentoo_create_doc + einstalldocs + + dobin "${FILESDIR}"/eggdrop-installer + doman doc/man1/eggdrop.1 +} + +pkg_postinst() { + # Only display this for new installs + if [[ -z ${REPLACING_VERSIONS} ]]; then + elog "Please run ${EPREFIX}/usr/bin/eggdrop-installer to install your eggdrop bot." + fi +} |