gentoo-ebuilds/net-news/yydecode/yydecode-0.2.10-r3.ebuild
2024-10-20 22:54:44 -04:00

36 lines
775 B
Bash

# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit autotools flag-o-matic
DESCRIPTION="A decoder for yENC format, popular on Usenet"
HOMEPAGE="https://yydecode.sourceforge.net/"
SRC_URI="https://downloads.sourceforge.net/yydecode/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha amd64 arm ~ppc ~sparc x86"
PATCHES=(
"${FILESDIR}"/${PN}-0.2.10-fix-strcmp-not-found.patch
)
src_prepare() {
default
# https://bugs.gentoo.org/277307
sed -e "s/t3.sh//" -e "s/t7.sh//" -i checks/Makefile.in checks/Makefile.am || die
eautoreconf
}
src_configure() {
# -Werror=lto-type-mismatch
# https://bugs.gentoo.org/898078
#
# Upstream has been dead since 2003. No bug reported.
filter-lto
default
}