diff options
Diffstat (limited to 'dev-util/gengetopt')
-rw-r--r-- | dev-util/gengetopt/Manifest | 6 | ||||
-rw-r--r-- | dev-util/gengetopt/files/gengetopt-2.22.6-docdirs.patch | 16 | ||||
-rw-r--r-- | dev-util/gengetopt/files/gengetopt-2.22.6-makefile.patch | 11 | ||||
-rw-r--r-- | dev-util/gengetopt/files/gengetopt-2.22.6-no-docs.patch | 9 | ||||
-rw-r--r-- | dev-util/gengetopt/gengetopt-2.22.6.ebuild | 30 | ||||
-rw-r--r-- | dev-util/gengetopt/metadata.xml | 5 |
6 files changed, 77 insertions, 0 deletions
diff --git a/dev-util/gengetopt/Manifest b/dev-util/gengetopt/Manifest new file mode 100644 index 000000000000..a06f725aa821 --- /dev/null +++ b/dev-util/gengetopt/Manifest @@ -0,0 +1,6 @@ +AUX gengetopt-2.22.6-docdirs.patch 364 BLAKE2B 06919d379a6f0e13271d89dda845dcc920a7581ff380d52318ec11f658327c73c1102326108080b9129610fe89b80aec39c01e0923c1449ae2d00123f4e8609d SHA512 f2bb3ba6e63c32deeda6d0408621a480b0902d2e93a3ceecbe3e79f72c79f3269bbd2e2fd3cd6bcb248bd81d0105dcd8520d44d523c53ce58843bc38a9cb21f6 +AUX gengetopt-2.22.6-makefile.patch 264 BLAKE2B 73c1bef7d171a3acb7dad8930fa1d7ce87cf83b7c395756a6658be276d3c22c2c71f9687d1666870d696fefb2940bb0ffde7d0c1de27c5b574afb6cec59cf747 SHA512 062de57db53d79261132fa62e7ecdbb6a3430231489beadc028e39258407a367033a3490b30a25acc5c1b95f8dec9557889436bd9b645f15ceb6b6b1f6655ebf +AUX gengetopt-2.22.6-no-docs.patch 247 BLAKE2B 7d703bd0224aa6ea25095eb36902a09695bbd262f0aba524f966b97ae620abf82f230fdaeaaf29f3ad4eecf2c42699c715bd12864e26e646a41cb83d8c51b55c SHA512 05b910473674359173d380a4fc681d824fd2ca4348ff098b5d8a9110fad487ff3827e8e20b8981de4d1db1a692cdf624a5cb4c8230b2fd0182e9bfdd99ea35b7 +DIST gengetopt-2.22.6.tar.gz 1056293 BLAKE2B a99fa2ee362fc7b01ebc4c81f9daa17592a30b63f63883b73ca67885fa39f2ece48bda3f04ed5b98e74785c4030f94cc139df93a847e8789962e51d0950de0c7 SHA512 dad5baf1b6c4c76ae7f532dd63c6aecdc30f31d68a259b6a26a10197f1fe42dc9147a52ac12a0c3fc4b7cd61d288a343a9223f967a5a9a15a0614330b41f68dc +EBUILD gengetopt-2.22.6.ebuild 801 BLAKE2B 53d523dc4b84feb8d86bad53e7b2eb0654e0ec252732bd893b8f10ebe29d6179fbebe00faa4729ef2f9ce33f59ec29eaad2f2117165b941d3b7a0a341d24dea7 SHA512 20b5852e27a6075403100c80d678c0c4066c6b0f7db7741321e5b099c7980f1b93d01226a08599bfbc2f965f3744de4e67461fc45dd71a8d5335d6c186079dfd +MISC metadata.xml 166 BLAKE2B c254f1fb642881aba57637be14fb0a89b10384f91a128feaec3a8c870d76efc2cbacb92caccc0dee2dd19a5ac5eaf8643080dafa05c4e2ac96a68568927e5afd SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84 diff --git a/dev-util/gengetopt/files/gengetopt-2.22.6-docdirs.patch b/dev-util/gengetopt/files/gengetopt-2.22.6-docdirs.patch new file mode 100644 index 000000000000..409bfb810f9e --- /dev/null +++ b/dev-util/gengetopt/files/gengetopt-2.22.6-docdirs.patch @@ -0,0 +1,16 @@ +--- a/configure.ac ++++ b/configure.ac +@@ -27,11 +27,11 @@ + + dnl directory for docs (html) + AC_SUBST(gengetoptdocdir) +-gengetoptdocdir=$docdir ++gengetoptdocdir=$docdir/html + + dnl directory for examples + AC_SUBST(gengetoptexamplesdir) +-gengetoptexamplesdir=$gengetoptdocdir/examples ++gengetoptexamplesdir=$docdir/examples + + dnl Checks for C compiler. + AC_PROG_CC diff --git a/dev-util/gengetopt/files/gengetopt-2.22.6-makefile.patch b/dev-util/gengetopt/files/gengetopt-2.22.6-makefile.patch new file mode 100644 index 000000000000..f5ecefff9993 --- /dev/null +++ b/dev-util/gengetopt/files/gengetopt-2.22.6-makefile.patch @@ -0,0 +1,11 @@ +--- a/src/Makefile.am ++++ b/src/Makefile.am +@@ -51,7 +51,7 @@ + @LTLIBOBJS@ \ + skels/libgen.la + +-LDADD = $(top_builddir)/src/libgengetopt.la ++LDADD = libgengetopt.la + + EXTRA_DIST = parser.h argsdef.h gengetopt.h ggos.h gm.h gnugetopt.h \ + cmdline.c cmdline.h \ diff --git a/dev-util/gengetopt/files/gengetopt-2.22.6-no-docs.patch b/dev-util/gengetopt/files/gengetopt-2.22.6-no-docs.patch new file mode 100644 index 000000000000..84f0324ea07b --- /dev/null +++ b/dev-util/gengetopt/files/gengetopt-2.22.6-no-docs.patch @@ -0,0 +1,9 @@ +--- a/Makefile.am ++++ b/Makefile.am +@@ -19,5 +19,3 @@ + + EXTRA_DIST = configure TODO LICENSE gl/m4/gnulib-cache.m4 + SUBDIRS = gl src doc tests +- +-gengetoptdoc_DATA = ChangeLog COPYING NEWS THANKS INSTALL README LICENSE +\ No newline at end of file diff --git a/dev-util/gengetopt/gengetopt-2.22.6.ebuild b/dev-util/gengetopt/gengetopt-2.22.6.ebuild new file mode 100644 index 000000000000..cd8b5f7a020c --- /dev/null +++ b/dev-util/gengetopt/gengetopt-2.22.6.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils autotools + +DESCRIPTION="A tool to write command line option parsing code for C programs" +HOMEPAGE="https://www.gnu.org/software/gengetopt/" +SRC_URI="mirror://gnu/${PN}/${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="amd64 ~arm x86 ~x64-cygwin ~amd64-linux ~x86-linux ~sparc-solaris ~sparc64-solaris" + +src_prepare() { + epatch "${FILESDIR}"/${P}-makefile.patch + epatch "${FILESDIR}"/${P}-no-docs.patch + epatch "${FILESDIR}"/${P}-docdirs.patch + sed -e "s/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/" -i configure.ac || die + eautoreconf +} + +src_configure() { + econf --docdir="${EPREFIX}"/usr/share/doc/${PF} +} + +src_install() { + default + docompress -x /usr/share/doc/${PF}/examples +} diff --git a/dev-util/gengetopt/metadata.xml b/dev-util/gengetopt/metadata.xml new file mode 100644 index 000000000000..6f49eba8f496 --- /dev/null +++ b/dev-util/gengetopt/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<!-- maintainer-needed --> +</pkgmetadata> |