From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- app-misc/countrycodes/Manifest | 8 +++++ app-misc/countrycodes/countrycodes-1.0.5-r1.ebuild | 32 +++++++++++++++++ app-misc/countrycodes/countrycodes-1.0.5-r2.ebuild | 34 ++++++++++++++++++ app-misc/countrycodes/countrycodes-1.0.5-r3.ebuild | 32 +++++++++++++++++ app-misc/countrycodes/files/1.0.5-Makefile.patch | 42 ++++++++++++++++++++++ app-misc/countrycodes/metadata.xml | 8 +++++ 6 files changed, 156 insertions(+) create mode 100644 app-misc/countrycodes/Manifest create mode 100644 app-misc/countrycodes/countrycodes-1.0.5-r1.ebuild create mode 100644 app-misc/countrycodes/countrycodes-1.0.5-r2.ebuild create mode 100644 app-misc/countrycodes/countrycodes-1.0.5-r3.ebuild create mode 100644 app-misc/countrycodes/files/1.0.5-Makefile.patch create mode 100644 app-misc/countrycodes/metadata.xml (limited to 'app-misc/countrycodes') diff --git a/app-misc/countrycodes/Manifest b/app-misc/countrycodes/Manifest new file mode 100644 index 000000000000..3794c1cca1a0 --- /dev/null +++ b/app-misc/countrycodes/Manifest @@ -0,0 +1,8 @@ +AUX 1.0.5-Makefile.patch 1034 SHA256 ff3d17ddece39233524f688abb8324fa760ba3b0b4bf8f9e7c5d7a08d50b2b5c SHA512 a0416ee6b6b7416d9f0f1d379b2b4a86fb0b0ca6df2dd5f0bf3d4e54ba1fa3213da1561a38b1757d2f98b4cf96df1ff74cdea1b7e05587c7250d77353f522832 WHIRLPOOL ecd6a30aeb2590d54e9eb41b2a79a4dd3bda203b6529b4b3017603a53c11ed57dfffbd762029532c82b4cce6618485bf7ecb65285a0208f99f8c185b60482124 +DIST countrycodes-1.0.5.tar.gz 18621 SHA256 e56e10442c7353c39cd9e57fa747df279ae39a84a89336644a58c29de5b2b39b SHA512 d62beaaccdbc8f7e14f3edf0044aeeef6375a3deffc0e4246a49fb8209ed7256208c878f811950c5c3bfda729988a46c173aecec72ee66e8843932d97064f035 WHIRLPOOL e00e5d39080b25e8c599bf9c549dc24d9ee2393ffb52f5d9e98fcdf1479e4ac3599853e2e5f7893aaaaee7f0881e3a6cd0d9ab88e8157674b09c98adc33e7ae7 +EBUILD countrycodes-1.0.5-r1.ebuild 779 SHA256 fc6eeec3e42e69f39888c9d6cfb1c069821be5a7cbfd411acdd2a0c245395bb1 SHA512 df6a20cdb6634bded9ff057623280d36989df3337bbde00b175fe8d75f095d2e3c02740c5e13994a188d7916fa5227b92f835368aad4a1e9dab6ff7c913d0ac9 WHIRLPOOL c9fbd8893814126c1b3c1e6f2f32d64efb15a2687045ac3635f5bb42be5e56565a7a701830703192b5810f6f7a6a121c42e56f247e2177ab9970f9125fd2edcb +EBUILD countrycodes-1.0.5-r2.ebuild 740 SHA256 95ae85caf22498f6da0f790f19181fe185308221a0a7608ce6fa9b543b59019f SHA512 d086a6445262ac67c4785d42f05d9067adeda4f7b8a1457f487393ca8bcd7db5556d7df20ddaf4a2fe7e2ec3d5abbc62ec4b1680138fad05d7bfce83b7d19e12 WHIRLPOOL fd0cf7fb6533cedae34096ed4ad5f004f31a634e59243fdf1c66a87a36911b8ef24303fd9e744e9eb3fbc19196e8bec9e156364dfb070fbb4d5f9b888183c78e +EBUILD countrycodes-1.0.5-r3.ebuild 723 SHA256 a0607db136cc8ed0c4460b71bb089df5e274731d3a8ec8d7ee79d7d76965474d SHA512 87f426e2ac6beeb3b13053139bdd89edf880479a693e718cf83b8bf8de092f601f35e2fedd4b7d2fa63c7bc20af193e1b45ec215ff2a702c3539eaee4a1f7023 WHIRLPOOL d6838a9d340a2c55baf1e7e9008b2e5c3e89bbe71931b9a346283ee627d198afaf320f68a3ee4ced7e8309a18b057313aba38aa77e9e2ef25047c6aa2d1452a5 +MISC ChangeLog 2699 SHA256 3483bf9a08a13637f09a0a83013b11e719e25d1f6396965920c4c15f571c5479 SHA512 9437c0711ce02fcdee89ea55ab8c759541aa04ec022c137b218e206a0ffbe24fb8210ad601d4f77d5dc56e2ede708e583520b4029c791de702ad5554bf927eab WHIRLPOOL ad884422cdb001114350142c02093be287b417199e17a4773a8dfb0858c3fd7d30fba1d4dc1370e95b36e4d0b5b49ac8ad6b7be3635339a48bb9bde2492fb6db +MISC ChangeLog-2015 3348 SHA256 1d4d120a4b2c1aff4eff892504e7c72912e17063da8900e53e9ab878247e93fe SHA512 830c413ae69f75093badf9ce5bf2d5a50e9fe8efb01f5341aac82c999a4e76e0482e338a92ceae9f2acd7d851eed34f5606c10a25dda41dd89d43b29e11d9765 WHIRLPOOL e85c9b6a11ca263a20b36ada288c13625fe4fb9d1d0bdca3de535fb13dcd2eb064401be8625ec3b4533d7041560a58b0f08b03879697e5de3422dca6280069ea +MISC metadata.xml 265 SHA256 5c4f9426c69dd2191012bf8aae1952f4f6298c1f6ff0ec1e45fe0e05327694e9 SHA512 176f814d8c555e8726f36e012367b698e8a19a0662982621029a7f9190beecc5e6798e43c51698dc149364966cdeff7061121e54fa9d4cf2a3559a6ce4904e25 WHIRLPOOL 2fa84a9f23f48e804ab20a6fabe2707f86227bded2a41d3af30958db5a69bc6276140a7f035a256caeca5a8b8ce1c240383c300a90fc4a83334c178769bc3519 diff --git a/app-misc/countrycodes/countrycodes-1.0.5-r1.ebuild b/app-misc/countrycodes/countrycodes-1.0.5-r1.ebuild new file mode 100644 index 000000000000..211e7bbf46fe --- /dev/null +++ b/app-misc/countrycodes/countrycodes-1.0.5-r1.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="3" + +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="" + +S="${WORKDIR}"/${P}/src + +src_prepare() { + epatch "${FILESDIR}"/${PV}-Makefile.patch + tc-export CC +} + +src_install() { + emake \ + prefix="${D}/usr" \ + mandir="${D}/usr/share/man/man1" install || die "make install failed" + dosym iso3166 /usr/bin/countrycodes || die + dosym iso3166.1 /usr/share/man/man1/countrycodes || die + dodoc ../doc/{Changelog,README} || die + prepman +} 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 000000000000..b9140b6b2c8f --- /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/countrycodes-1.0.5-r3.ebuild b/app-misc/countrycodes/countrycodes-1.0.5-r3.ebuild new file mode 100644 index 000000000000..a1ccc0e0d3ac --- /dev/null +++ b/app-misc/countrycodes/countrycodes-1.0.5-r3.ebuild @@ -0,0 +1,32 @@ +# 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" + +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} +} diff --git a/app-misc/countrycodes/files/1.0.5-Makefile.patch b/app-misc/countrycodes/files/1.0.5-Makefile.patch new file mode 100644 index 000000000000..677e59acc5c0 --- /dev/null +++ b/app-misc/countrycodes/files/1.0.5-Makefile.patch @@ -0,0 +1,42 @@ +diff --git a/Makefile b/Makefile +index 9330578..3ff7319 100644 +--- a/Makefile ++++ b/Makefile +@@ -26,13 +26,13 @@ BINMODE=755 + LOGDIRMODE=700 + + # Compiler to use +-CC=gcc ++CC ?= gcc + + # Compiler warnings +-WARNINGS= -pedantic -Wall ++WARNINGS= + + # Compiler flags +-CCOPTS = -O2 -fomit-frame-pointer ++CCOPTS = ${CFLAGS} + + # The makefile standards document I read says that I have to put it here... + SHELL = /bin/sh +@@ -61,7 +61,7 @@ PROGRAM = iso3166 + all: $(PROGRAM) + + $(PROGRAM): $(ISO3166OBJ) +- $(CC) $(CCOPTS) $(ISO3166OBJ) -o $@ ++ $(CC) $(CCOPTS) $(LDFLAGS) $(ISO3166OBJ) -o $@ + + clean: + rm -f $(ISO3166OBJ) core defines.h $(PROGRAM) +@@ -70,8 +70,10 @@ strip: + strip $(PROGRAM) + + install: +- $(INSTALL) -g root -m $(BINMODE) -o root -s ${srcdir}/$(PROGRAM) ${bindir} ++ mkdir -p ${bindir} ++ $(INSTALL) -g root -m $(BINMODE) -o root ${srcdir}/$(PROGRAM) ${bindir} + @echo "Installing man page..." ++ mkdir -p ${mandir} + @$(SEDBIN) $(SEDCMDS) ${docdir}/iso3166.1.in > ${mandir}/iso3166.1 + @chown 0.0 ${mandir}/iso3166.1 + @echo diff --git a/app-misc/countrycodes/metadata.xml b/app-misc/countrycodes/metadata.xml new file mode 100644 index 000000000000..3cf14bf74636 --- /dev/null +++ b/app-misc/countrycodes/metadata.xml @@ -0,0 +1,8 @@ + + + + + shell-tools@gentoo.org + Gentoo Shell Tools Project + + -- cgit v1.2.3