mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
net-irc/eggdrop: drop 1.9.1, EAPI=7--
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
This commit is contained in:
@@ -1,3 +1,2 @@
|
||||
DIST eggdrop-1.9.1.tar.gz 2271120 BLAKE2B 73fadeddcebeba5de42328f6f02c05e850e47c19812bc1a868da09f55fd1d297e3596c5a4b167806237554966e7dfbebadcee6215932c56a76b3e67a77d5ee47 SHA512 d8907d265f7e22f3bcd3e28b256c5788d5959ad11cc1425d59eb4411ebbc172fe8d90c31fd9f033369ab80cd29a36a5856f6bd32bc6c9cdfedea1d6509ea7f3b
|
||||
DIST eggdrop-1.9.4.tar.gz 2065217 BLAKE2B f9d1e6c0491d6c7959e3b67e8186082d074d648497cd66f244dfb4c919a566d81fdce83d034f0cc1e5247bc924022faf56004cdd8a6cc174fe8d0f44af5e2a9a SHA512 ed3145411a1832d1a6d4f191c6ff30e64aa45f803df00585c1c69f6bbc8a16d07e9608c57e31fb723f7a9c66a24422e5080aab7746e562ac5b6a678a08c7b2a4
|
||||
DIST eggdrop-1.9.5.tar.gz 2109996 BLAKE2B 80d7b44356f0c5750c276f15412fdb847bc7583c7d1e990735ad4aec1b6bec9822124b089654dfb4dfbd393127804da1019d184d01b867b0dd84ba0342167d94 SHA512 863e6f94a92ac02e135c306000379ce516d9c9381eb5ca249e7656f4f0f504a159ddf1f658016d05e422d8036e808664101ab4f8944a42438c273f71b676189b
|
||||
|
||||
@@ -1,72 +0,0 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit readme.gentoo-r1
|
||||
|
||||
MY_P="${PN}-${PV/_rc/rc}"
|
||||
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}/${MY_P}.tar.gz"
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
KEYWORDS="~alpha amd64 ~arm ~arm64 ~mips ppc ~riscv 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
|
||||
}
|
||||
Reference in New Issue
Block a user