Gentoo Archives: gentoo-commits

From: Jeroen Roovers <jer@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-irc/ii/
Date: Mon, 12 Feb 2018 00:09:13
Message-Id: 1518394148.ca34771d3176f17c2189b657fb0e46f2b7f8f13d.jer@gentoo
1 commit: ca34771d3176f17c2189b657fb0e46f2b7f8f13d
2 Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
3 AuthorDate: Mon Feb 12 00:08:54 2018 +0000
4 Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
5 CommitDate: Mon Feb 12 00:09:08 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ca34771d
7
8 net-irc/ii: Version 1.8.
9
10 Package-Manager: Portage-2.3.24, Repoman-2.3.6
11
12 net-irc/ii/Manifest | 1 +
13 net-irc/ii/ii-1.8.ebuild | 36 ++++++++++++++++++++++++++++++++++++
14 2 files changed, 37 insertions(+)
15
16 diff --git a/net-irc/ii/Manifest b/net-irc/ii/Manifest
17 index caa8727424b..b3af42cfc78 100644
18 --- a/net-irc/ii/Manifest
19 +++ b/net-irc/ii/Manifest
20 @@ -1 +1,2 @@
21 DIST ii-1.7.tar.gz 10174 BLAKE2B 93af2dc182d77dbfca65cbee6c40aedabe9166be7abcb03c87e80e74273dea1e4dd875d86cf0e1dd04b4a10bfcd825ea9a8c109badb72cc877a484bdaea705d9 SHA512 1fa744bc9b4291b5c6c56e023d982aad59001137db6c7682284a2d63e649a32d558adbb85ae3407e312ae5436852b4278c2c522d4ef03f47cf54ea3a1f13ca90
22 +DIST ii-1.8.tar.gz 12326 BLAKE2B 7ae90d788aaec0a359ce46370f27c0ce62c6f77e8cda61d9d168d0ebd7de927a478b42a591631f2c193f3816b2a1b39cf79607326b073bcbeefe4291e0fb95f6 SHA512 2b41a0611ac76612c9333e8490709ee22d17506f0c5d7e680a0d8f3f8b511bd5b279555cf609c1543aba71948819369a3c306b1168086890aa49c145b7860e17
23
24 diff --git a/net-irc/ii/ii-1.8.ebuild b/net-irc/ii/ii-1.8.ebuild
25 new file mode 100644
26 index 00000000000..0a4bb49da75
27 --- /dev/null
28 +++ b/net-irc/ii/ii-1.8.ebuild
29 @@ -0,0 +1,36 @@
30 +# Copyright 1999-2018 Gentoo Foundation
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=6
34 +inherit toolchain-funcs
35 +
36 +DESCRIPTION="A minimalist FIFO and filesystem-based IRC client"
37 +HOMEPAGE="https://tools.suckless.org/ii/"
38 +SRC_URI="https://dl.suckless.org/tools/${P}.tar.gz"
39 +
40 +LICENSE="MIT"
41 +SLOT="0"
42 +KEYWORDS="~amd64 ~x86 ~amd64-linux"
43 +
44 +src_prepare() {
45 + default
46 +
47 + sed -i \
48 + -e '/^CFLAGS/{s: -Os::g; s:= :+= :g}' \
49 + -e '/^CC/d' \
50 + -e '/^LDFLAGS/{s:-s::g; s:= :+= :g}' \
51 + config.mk || die
52 + sed -i \
53 + -e 's|@${CC}|$(CC)|g' \
54 + Makefile || die
55 +}
56 +
57 +src_compile() {
58 + emake CC="$(tc-getCC)"
59 +}
60 +
61 +src_install() {
62 + dobin ii
63 + dodoc CHANGES FAQ README
64 + doman *.1
65 +}