diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-03-20 00:40:44 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-03-20 00:40:44 +0000 |
commit | 4cbcc855382a06088e2f016f62cafdbcb7e40665 (patch) | |
tree | 356496503d52354aa6d9f2d36126302fed5f3a73 /net-irc/ii/ii-1.9.ebuild | |
parent | fcc5224904648a8e6eb528d7603154160a20022f (diff) |
gentoo resync : 20.03.2022
Diffstat (limited to 'net-irc/ii/ii-1.9.ebuild')
-rw-r--r-- | net-irc/ii/ii-1.9.ebuild | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/net-irc/ii/ii-1.9.ebuild b/net-irc/ii/ii-1.9.ebuild new file mode 100644 index 000000000000..77398ef92d7e --- /dev/null +++ b/net-irc/ii/ii-1.9.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +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 +} |