From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 2E3DE1396D0 for ; Thu, 31 Aug 2017 10:33:43 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 752EE1FC0C3; Thu, 31 Aug 2017 10:33:31 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 53BFB1FC0C3 for ; Thu, 31 Aug 2017 10:33:31 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 3CAD634165C for ; Thu, 31 Aug 2017 10:33:30 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3B52F88FA for ; Thu, 31 Aug 2017 10:33:26 +0000 (UTC) From: "Jeroen Roovers" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Jeroen Roovers" Message-ID: <1504175111.9648b653f7890632e09948954418ae97fb51f2a8.jer@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-irc/sic/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-irc/sic/sic-1.2-r1.ebuild X-VCS-Directories: net-irc/sic/ X-VCS-Committer: jer X-VCS-Committer-Name: Jeroen Roovers X-VCS-Revision: 9648b653f7890632e09948954418ae97fb51f2a8 X-VCS-Branch: master Date: Thu, 31 Aug 2017 10:33:26 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: ddbe601a-7184-47ca-a9e1-00ab4e44030a X-Archives-Hash: 5954ffedefa68739c765298df91f84b6 commit: 9648b653f7890632e09948954418ae97fb51f2a8 Author: Jeroen Roovers gentoo org> AuthorDate: Thu Aug 31 10:25:11 2017 +0000 Commit: Jeroen Roovers gentoo org> CommitDate: Thu Aug 31 10:25:11 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9648b653 net-irc/sic: EAPI=6. Package-Manager: Portage-2.3.8, Repoman-2.3.3 net-irc/sic/sic-1.2-r1.ebuild | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/net-irc/sic/sic-1.2-r1.ebuild b/net-irc/sic/sic-1.2-r1.ebuild new file mode 100644 index 00000000000..2056ef61651 --- /dev/null +++ b/net-irc/sic/sic-1.2-r1.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit toolchain-funcs + +DESCRIPTION="An extremly simple IRC client" +HOMEPAGE="https://tools.suckless.org/sic" +SRC_URI="https://dl.suckless.org/tools/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~x86-fbsd" + +src_prepare() { + default + + sed -i \ + -e '/^CFLAGS/{s: -Os::g; s:= :+= :g}' \ + -e '/^CC/d' \ + -e '/^LDFLAGS/{s:-s::g; s:= :+= :g}' \ + config.mk || die + sed -i \ + -e 's|@${CC}|$(CC)|g' \ + Makefile || die +} + +src_compile() { + emake CC="$(tc-getCC)" +} + +src_install() { + emake DESTDIR="${D}" PREFIX="/usr" install +}