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 AECE8139695 for ; Sun, 2 Jul 2017 22:24:42 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EF7FE27402F; Sun, 2 Jul 2017 22:24:41 +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-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id CDD4A27402F for ; Sun, 2 Jul 2017 22:24:41 +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 968F634180A for ; Sun, 2 Jul 2017 22:24:40 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 59137749A for ; Sun, 2 Jul 2017 22:24:38 +0000 (UTC) From: "Manuel Rüger" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Manuel Rüger" Message-ID: <1499034264.d9683b48d65a7e6b172161c504cb8d9da117d0e1.mrueg@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-misc/countrycodes/files/, app-misc/countrycodes/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-misc/countrycodes/countrycodes-1.0.5-r2.ebuild app-misc/countrycodes/files/1.0.5-Makefile.patch X-VCS-Directories: app-misc/countrycodes/files/ app-misc/countrycodes/ X-VCS-Committer: mrueg X-VCS-Committer-Name: Manuel Rüger X-VCS-Revision: d9683b48d65a7e6b172161c504cb8d9da117d0e1 X-VCS-Branch: master Date: Sun, 2 Jul 2017 22:24:38 +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: ff6def48-f810-428d-8fac-e39ad38b9a5a X-Archives-Hash: 1da9f956ad3eb7c856bbb550463ca20f commit: d9683b48d65a7e6b172161c504cb8d9da117d0e1 Author: Manuel Rüger gentoo org> AuthorDate: Sun Jul 2 22:24:24 2017 +0000 Commit: Manuel Rüger gentoo org> CommitDate: Sun Jul 2 22:24:24 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d9683b48 app-misc/countrycodes: Port to EAPI6 Package-Manager: Portage-2.3.6, Repoman-2.3.2 app-misc/countrycodes/countrycodes-1.0.5-r2.ebuild | 34 ++++++++++++++++++++++ app-misc/countrycodes/files/1.0.5-Makefile.patch | 6 ++-- 2 files changed, 37 insertions(+), 3 deletions(-) diff --git a/app-misc/countrycodes/countrycodes-1.0.5-r2.ebuild b/app-misc/countrycodes/countrycodes-1.0.5-r2.ebuild new file mode 100644 index 00000000000..b9140b6b2c8 --- /dev/null +++ b/app-misc/countrycodes/countrycodes-1.0.5-r2.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 ISO 3166 country code finder" +HOMEPAGE="http://www.grigna.com/diego/linux/countrycodes/" +SRC_URI="http://www.grigna.com/diego/linux/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" +IUSE="" + +S="${WORKDIR}"/${P}/src + +PATCHES=( "${FILESDIR}"/${PV}-Makefile.patch ) + +src_prepare() { + default + tc-export CC +} + +src_install() { + emake \ + prefix="${D}/usr" \ + mandir="${D}/usr/share/man/man1" install + dosym iso3166 /usr/bin/countrycodes + dosym iso3166.1 /usr/share/man/man1/countrycodes + dodoc ../doc/{Changelog,README} + prepman +} diff --git a/app-misc/countrycodes/files/1.0.5-Makefile.patch b/app-misc/countrycodes/files/1.0.5-Makefile.patch index 4ee47e32dfd..677e59acc5c 100644 --- a/app-misc/countrycodes/files/1.0.5-Makefile.patch +++ b/app-misc/countrycodes/files/1.0.5-Makefile.patch @@ -1,7 +1,7 @@ -diff --git a/src/Makefile b/src/Makefile +diff --git a/Makefile b/Makefile index 9330578..3ff7319 100644 ---- a/src/Makefile -+++ b/src/Makefile +--- a/Makefile ++++ b/Makefile @@ -26,13 +26,13 @@ BINMODE=755 LOGDIRMODE=700