commit: 795294eb54eae5fdcd43f52a48c8c5852a4c517d Author: Spencer Pavkovic <smp <AT> nandre <DOT> com> AuthorDate: Sat Jan 8 23:57:01 2022 +0000 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> CommitDate: Sun Feb 27 13:29:55 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=795294eb
net-irc/ii: version bump to 1.9 Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Spencer Pavkovic <smp <AT> nandre.com> Closes: https://github.com/gentoo/gentoo/pull/23707 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org> net-irc/ii/Manifest | 1 + net-irc/ii/ii-1.9.ebuild | 34 ++++++++++++++++++++++++++++++++++ 2 files changed, 35 insertions(+) diff --git a/net-irc/ii/Manifest b/net-irc/ii/Manifest index 4871af24cd36..087a679b701a 100644 --- a/net-irc/ii/Manifest +++ b/net-irc/ii/Manifest @@ -1 +1,2 @@ DIST ii-1.8.tar.gz 12326 BLAKE2B 7ae90d788aaec0a359ce46370f27c0ce62c6f77e8cda61d9d168d0ebd7de927a478b42a591631f2c193f3816b2a1b39cf79607326b073bcbeefe4291e0fb95f6 SHA512 2b41a0611ac76612c9333e8490709ee22d17506f0c5d7e680a0d8f3f8b511bd5b279555cf609c1543aba71948819369a3c306b1168086890aa49c145b7860e17 +DIST ii-1.9.tar.gz 12672 BLAKE2B 95da596de00fb311a69b907ab25c0089aafa512085b25fe5753206cdeaa0fec3d9a16eb38d60c68542f7002efd1052e69e1f5542f535363d38760cab508b3d99 SHA512 a665a6d1e1ffe56e370da2d703e677436ef4e18e763bb3cadbbf55e01812454ce4b79e8a20eda23846fdbe5a441ec8c534c9394995b3441472ce8a74c9035279 diff --git a/net-irc/ii/ii-1.9.ebuild b/net-irc/ii/ii-1.9.ebuild new file mode 100644 index 000000000000..51bf246848f4 --- /dev/null +++ b/net-irc/ii/ii-1.9.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit toolchain-funcs + +DESCRIPTION="A minimalist FIFO and filesystem-based IRC client" +HOMEPAGE="https://tools.suckless.org/ii/" +SRC_URI="https://dl.suckless.org/tools/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux" + +src_prepare() { + default + + sed -i -e '/^LDFLAGS/{s:-s::g; s:= :+= :g}' \ + -e '/^CFLAGS/{s: -Os::g; s:= :+= :g}' \ + -e 's|doc|doc/${PF}|' config.mk || die + + sed -i -e 's|(DOCPREFIX)/ii|(DOCPREFIX)|' Makefile || die +} + +src_compile() { + emake CC="$(tc-getCC)" +} + +src_install() { + emake \ + DESTDIR="${D}" \ + PREFIX="${EPREFIX}"/usr \ + install +}
