Gentoo Archives: gentoo-commits

From: Patrice Clement <monsieurp@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-misc/countrycodes/
Date: Thu, 03 Aug 2017 22:35:47
Message-Id: 1501799702.9b1ae8fa6700d0724304cc1d83bc1d70b2ed019d.monsieurp@gentoo
1 commit: 9b1ae8fa6700d0724304cc1d83bc1d70b2ed019d
2 Author: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
3 AuthorDate: Thu Aug 3 22:35:02 2017 +0000
4 Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
5 CommitDate: Thu Aug 3 22:35:02 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9b1ae8fa
7
8 app-misc/countrycodes: remove prepman call.
9
10 Gentoo-Bug: https://bugs.gentoo.org/587302
11
12 Package-Manager: Portage-2.3.6, Repoman-2.3.1
13
14 app-misc/countrycodes/countrycodes-1.0.5-r3.ebuild | 32 ++++++++++++++++++++++
15 1 file changed, 32 insertions(+)
16
17 diff --git a/app-misc/countrycodes/countrycodes-1.0.5-r3.ebuild b/app-misc/countrycodes/countrycodes-1.0.5-r3.ebuild
18 new file mode 100644
19 index 00000000000..a1ccc0e0d3a
20 --- /dev/null
21 +++ b/app-misc/countrycodes/countrycodes-1.0.5-r3.ebuild
22 @@ -0,0 +1,32 @@
23 +# Copyright 1999-2017 Gentoo Foundation
24 +# Distributed under the terms of the GNU General Public License v2
25 +
26 +EAPI=6
27 +
28 +inherit toolchain-funcs
29 +
30 +DESCRIPTION="An ISO 3166 country code finder"
31 +HOMEPAGE="http://www.grigna.com/diego/linux/countrycodes/"
32 +SRC_URI="http://www.grigna.com/diego/linux/${PN}/${P}.tar.gz"
33 +
34 +LICENSE="GPL-2"
35 +SLOT="0"
36 +KEYWORDS="~alpha ~amd64 ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
37 +
38 +S="${WORKDIR}"/${P}/src
39 +
40 +PATCHES=( "${FILESDIR}"/${PV}-Makefile.patch )
41 +
42 +src_prepare() {
43 + default
44 + tc-export CC
45 +}
46 +
47 +src_install() {
48 + emake \
49 + prefix="${D}/usr" \
50 + mandir="${D}/usr/share/man/man1" install
51 + dosym iso3166 /usr/bin/countrycodes
52 + dosym iso3166.1 /usr/share/man/man1/countrycodes
53 + dodoc ../doc/{Changelog,README}
54 +}