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 4AE74138346 for ; Sun, 5 Jan 2020 16:29:04 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4B60CE0A70; Sun, 5 Jan 2020 16:29:03 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 2FBC1E0A70 for ; Sun, 5 Jan 2020 16:29:03 +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 8639134DDBC for ; Sun, 5 Jan 2020 16:29:01 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0D4B33D for ; Sun, 5 Jan 2020 16:28:59 +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: <1578241736.7e8a13e89a33cbc49102ae9d828aceea58efc8db.jer@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/wscr/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-text/wscr/wscr-1.2-r2.ebuild X-VCS-Directories: app-text/wscr/ X-VCS-Committer: jer X-VCS-Committer-Name: Jeroen Roovers X-VCS-Revision: 7e8a13e89a33cbc49102ae9d828aceea58efc8db X-VCS-Branch: master Date: Sun, 5 Jan 2020 16:28:59 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 2cf8ce2d-a3d9-43b8-a924-fb7d42fbaee6 X-Archives-Hash: 9ea139a38101918b26a94e72349bf052 commit: 7e8a13e89a33cbc49102ae9d828aceea58efc8db Author: Jeroen Roovers gentoo org> AuthorDate: Sun Jan 5 16:06:53 2020 +0000 Commit: Jeroen Roovers gentoo org> CommitDate: Sun Jan 5 16:28:56 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7e8a13e8 app-text/wscr: EAPI=7 Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Jeroen Roovers gentoo.org> app-text/wscr/wscr-1.2-r2.ebuild | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/app-text/wscr/wscr-1.2-r2.ebuild b/app-text/wscr/wscr-1.2-r2.ebuild new file mode 100644 index 00000000000..3a34f41b57d --- /dev/null +++ b/app-text/wscr/wscr-1.2-r2.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit toolchain-funcs + +DESCRIPTION="A Lightweight and Fast Anagram Solver" +HOMEPAGE="https://www.gentoo.org/" +SRC_URI="https://dev.gentoo.org/~jer/${P}.tar.gz" +LICENSE="public-domain" +SLOT="0" + +KEYWORDS="~amd64 ~mips ~ppc ~x86" +RDEPEND="sys-apps/miscfiles" + +src_prepare() { + default + sed -i 's#"/usr/dict/words";#"/usr/share/dict/words";#' wscr.h || die +} + +src_compile() { + emake CC="$(tc-getCC)" FLAGS="${CFLAGS} ${LDFLAGS}" +} + +src_install() { + dobin wscr + doman wscr.6 + dodoc README +}