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 32ACA139694 for ; Sat, 10 Jun 2017 10:06:15 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1C44AE0EA8; Sat, 10 Jun 2017 10:06:12 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E74EBE0EA8 for ; Sat, 10 Jun 2017 10:06:11 +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 BDE49341843 for ; Sat, 10 Jun 2017 10:06:10 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id EB0427477 for ; Sat, 10 Jun 2017 10:06:08 +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: <1497089166.1146cbe9b5041f9d42966dbc70828a7fd044b649.jer@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/an/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-text/an/an-1.2-r1.ebuild X-VCS-Directories: app-text/an/ X-VCS-Committer: jer X-VCS-Committer-Name: Jeroen Roovers X-VCS-Revision: 1146cbe9b5041f9d42966dbc70828a7fd044b649 X-VCS-Branch: master Date: Sat, 10 Jun 2017 10:06:08 +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: 72b7d18e-560d-4494-8f0f-4fe405a8cd5c X-Archives-Hash: 73b66d9088bb1b8ba34f2fcc94bac390 commit: 1146cbe9b5041f9d42966dbc70828a7fd044b649 Author: Jeroen Roovers gentoo org> AuthorDate: Sat Jun 10 10:05:48 2017 +0000 Commit: Jeroen Roovers gentoo org> CommitDate: Sat Jun 10 10:06:06 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1146cbe9 app-text/an: EAPI bump. Package-Manager: Portage-2.3.6, Repoman-2.3.2 app-text/an/an-1.2-r1.ebuild | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/app-text/an/an-1.2-r1.ebuild b/app-text/an/an-1.2-r1.ebuild new file mode 100644 index 00000000000..d9c01423a53 --- /dev/null +++ b/app-text/an/an-1.2-r1.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit eutils toolchain-funcs + +DESCRIPTION="Very fast anagram generator with dictionary lookup" +HOMEPAGE="http://packages.debian.org/unstable/games/an" + +SRC_URI="mirror://debian/pool/main/a/${PN}/${PN}_${PV}.orig.tar.xz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86" + +DEPEND=" + dev-libs/icu:= +" +RDEPEND=" + ${DEPEND} + sys-apps/miscfiles[-minimal] +" + +src_prepare() { + default + + sed -i \ + -e '/^CC/s|:=|?=|' \ + -e 's|$(CC) $(CFLAGS)|& $(LDFLAGS)|g' \ + -e '/^CPPFLAGS/s|-D_BSD_SOURCE=1 -D_GNU_SOURCE=1|-D_DEFAULT_SOURCE=1|g' \ + Makefile || die + tc-export CC +} + +src_install() { + dobin ${PN} + newman ${PN}.6 ${PN}.1 + dodoc ALGORITHM +}