ChangeLog

# ChangeLog for app-misc/countrycodes
# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/app-misc/countrycodes/ChangeLog,v 1.19 2008/03/26 18:41:28 armin76 Exp $

26 Mar 2008; Raúl Porcel countrycodes-1.0.5.ebuild:
Add ~ia64

04 Feb 2007; Ryan Hill
+files/countrycodes-1.0.5-Makefile.patch, countrycodes-1.0.5.ebuild:
Fix pre-stripped files and get CC through tc-getCC. Bug #152253.

04 Dec 2006; Alexander H. Færøy
countrycodes-1.0.5.ebuild:
Stable on MIPS.

09 Sep 2005; Aron Griffis countrycodes-1.0.5.ebuild:
Mark 1.0.5 stable on alpha

21 Apr 2005; Simon Stelling countrycodes-1.0.5.ebuild:
stable on amd64

02 Jan 2005; Ciaran McCreesh :
Change encoding to UTF-8 for GLEP 31 compliance

18 Dec 2004; Simon Stelling countrycodes-1.0.5.ebuild:
added ~amd64

12 Dec 2004; Jason Wever countrycodes-1.0.5.ebuild:
Stable on sparc.

21 Oct 2004; Aaron Walker metadata.xml:
update metadata (no-herd => shell-tools)

05 Oct 2004; Pieter Van den Abeele
countrycodes-1.0.5.ebuild:
Masked countrycodes-1.0.5.ebuild stable for ppc

19 Sep 2004; Tom Gall countrycodes-1.0.5.ebuild:
stable on ppc64, bug #63661

12 Sep 2004; Bryan Østergaard countrycodes-1.0.5.ebuild:
Add ~alpha keyword, bug 63723.

30 Jun 2004; David Holm countrycodes-1.0.5.ebuild:
Added to ~ppc.

28 Jun 2004; Ciaran McCreesh countrycodes-1.0.5.ebuild:
Added ~sparc, ~mips

07 Jun 2004; Daniel Black +metadata.xml,
countrycodes-1.0.5.ebuild:
x86 stable

10 Apr 2004; Michael Sterrett
countrycodes-1.0.5.ebuild:
don't assign default to S; don't rdepend on sed; use emake; install man pages
in proper location; tidy

*countrycodes-1.0.5 (29 Feb 2004)

29 Feb 2004; Gustavo Felisberto ;
countrycodes-1.0.5.ebuild:
Initial import. Thanks to Petter E. Stokke in bug 43124

Manifest

AUX countrycodes-1.0.5-Makefile.patch 564 RMD160 4f9e7d9048db744783f212ea1e9bcd8bda5e28ad SHA1 14f377e5537dce216ce365a786e91d37eb4bc208 SHA256 120e0483546f0d93009902f445a3360a5a0460ee78b03a188a8e149b7953886c
DIST countrycodes-1.0.5.tar.gz 18621 RMD160 7231b553098ddbb3e3fc9d4e300f7dfdb3c078e3 SHA1 892a69dfabc0493fc8b38619c2be708fe7461ff5 SHA256 e56e10442c7353c39cd9e57fa747df279ae39a84a89336644a58c29de5b2b39b
EBUILD countrycodes-1.0.5.ebuild 1096 RMD160 d7345a3fe84d7b2ad62310b2120605fca0267817 SHA1 d5c388bb547e08d9e461c42a113f7040e502a4b4 SHA256 d5261acee0c15a1cbe598281968aef61004c4ebf1c22c2b888f60199e247d75c
MISC ChangeLog 2248 RMD160 797edb6c94691de5f343daa840425aaf576b5bbf SHA1 07644d32c156e64b3e27ea6ab63c4c5efca94061 SHA256 095bd694c0386a922a5eebe58b8026b29a4c9c175600f17e09a57fabb0c3af3d
MISC metadata.xml 165 RMD160 c4557a3518a065b077539be5a0f20e4735fc2141 SHA1 1831705b1eb97b63968fc9eef31aa904a69a854a SHA256 75ca85c472d4181ae0de529c83826baaebe75d9e750ee6621758b5096bceffcd

countrycodes-1.0.5.ebuild

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-misc/countrycodes/countrycodes-1.0.5.ebuild,v 1.19 2008/03/26 18:41:28 armin76 Exp $

inherit eutils 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=""

RDEPEND="virtual/libc"
DEPEND="${RDEPEND}
sys-apps/sed"

src_unpack() {
unpack ${A}
cd "${S}"

epatch "${FILESDIR}"/${P}-Makefile.patch

sed -i -e "s:gcc:$(tc-getCC):" src/Makefile || die "sed failed"
}

src_compile() {
emake -C src CCOPTS="${CFLAGS}" || die "emake failed"
}

src_install() {
dodir /usr/bin /usr/share/man/man1
make \
-C src \
prefix="${D}/usr" \
mandir="${D}/usr/share/man/man1" install || die "make install failed"
dosym iso3166 /usr/bin/countrycodes
dosym iso3166.1 /usr/share/man/man1/countrycodes
dodoc doc/{Changelog,README}
prepman
}

files

metadata.xml




shell-tools