summaryrefslogtreecommitdiff
path: root/dev-util/gengetopt
diff options
context:
space:
mode:
Diffstat (limited to 'dev-util/gengetopt')
-rw-r--r--dev-util/gengetopt/Manifest2
-rw-r--r--dev-util/gengetopt/gengetopt-2.23.ebuild29
2 files changed, 31 insertions, 0 deletions
diff --git a/dev-util/gengetopt/Manifest b/dev-util/gengetopt/Manifest
index a06f725aa821..b7e4bb63ca07 100644
--- a/dev-util/gengetopt/Manifest
+++ b/dev-util/gengetopt/Manifest
@@ -2,5 +2,7 @@ AUX gengetopt-2.22.6-docdirs.patch 364 BLAKE2B 06919d379a6f0e13271d89dda845dcc92
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
+DIST gengetopt-2.23.tar.xz 584860 BLAKE2B efd94e28d35319f3a04af4f97b87fd8a07bef93856da0dcfad54ab4800d43510f7948bbb7440f39abfe242aede5657abd874bf4ab4dd311336e10f37e7960cb5 SHA512 3749191d35acbeff6680f2a4d0516706a0491053f632aaa44ead7c3a42e56f9870bd7c4a85a1886f2052e17d86a2853e2f65d445e0c9920e41f1dc354f003712
EBUILD gengetopt-2.22.6.ebuild 801 BLAKE2B 53d523dc4b84feb8d86bad53e7b2eb0654e0ec252732bd893b8f10ebe29d6179fbebe00faa4729ef2f9ce33f59ec29eaad2f2117165b941d3b7a0a341d24dea7 SHA512 20b5852e27a6075403100c80d678c0c4066c6b0f7db7741321e5b099c7980f1b93d01226a08599bfbc2f965f3744de4e67461fc45dd71a8d5335d6c186079dfd
+EBUILD gengetopt-2.23.ebuild 714 BLAKE2B 20954e78eb6083f97351c7e835fe812932413996e71e1ba67094c0a025392810f69ddfcaea3a80884444348271e94c69fc6924e728e9ccdd7483ae3169bbbdff SHA512 81c8a361ef1e5f0ca609422b20a76ed92e8a4424083e9448353bd8cfa961618d5b85f898b3189a4b344cc832b74e401ef446c790aef37b0916e2ccfadee901bd
MISC metadata.xml 166 BLAKE2B c254f1fb642881aba57637be14fb0a89b10384f91a128feaec3a8c870d76efc2cbacb92caccc0dee2dd19a5ac5eaf8643080dafa05c4e2ac96a68568927e5afd SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84
diff --git a/dev-util/gengetopt/gengetopt-2.23.ebuild b/dev-util/gengetopt/gengetopt-2.23.ebuild
new file mode 100644
index 000000000000..23b2c1fa86df
--- /dev/null
+++ b/dev-util/gengetopt/gengetopt-2.23.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit 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.xz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~sparc-solaris ~sparc64-solaris"
+PATCHES=(
+ "${FILESDIR}"/${PN}-2.22.6-docdirs.patch
+)
+
+src_prepare() {
+ default
+
+ sed -e 's:AM_CONFIG_HEADER:AC_CONFIG_HEADERS:' -i configure.ac || die
+ sed -e '/gengetoptdoc_DATA/d' -i Makefile.am || die
+
+ eautoreconf
+}
+
+src_configure() {
+ econf --docdir="${EPREFIX}"/usr/share/doc/${PF}
+}