summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2019-06-04 20:11:51 +0200
committerJeroen Roovers <jer@gentoo.org>2019-06-04 20:12:10 +0200
commitbf8957ade3c584098a1c1805e60ab827f5261648 (patch)
tree80444166a6974f19af2f4964818a3d53168c357c /dev-util/gengetopt
parentdev-ruby/rex-exploitation: add 0.1.21 (diff)
downloadgentoo-bf8957ade3c584098a1c1805e60ab827f5261648.tar.gz
gentoo-bf8957ade3c584098a1c1805e60ab827f5261648.tar.bz2
gentoo-bf8957ade3c584098a1c1805e60ab827f5261648.zip
dev-util/gengetopt: Version 2.23
Package-Manager: Portage-2.3.67, Repoman-2.3.14 Signed-off-by: Jeroen Roovers <jer@gentoo.org>
Diffstat (limited to 'dev-util/gengetopt')
-rw-r--r--dev-util/gengetopt/Manifest1
-rw-r--r--dev-util/gengetopt/gengetopt-2.23.ebuild29
2 files changed, 30 insertions, 0 deletions
diff --git a/dev-util/gengetopt/Manifest b/dev-util/gengetopt/Manifest
index 4e5b0684a443..04c51189bf9f 100644
--- a/dev-util/gengetopt/Manifest
+++ b/dev-util/gengetopt/Manifest
@@ -1 +1,2 @@
DIST gengetopt-2.22.6.tar.gz 1056293 BLAKE2B a99fa2ee362fc7b01ebc4c81f9daa17592a30b63f63883b73ca67885fa39f2ece48bda3f04ed5b98e74785c4030f94cc139df93a847e8789962e51d0950de0c7 SHA512 dad5baf1b6c4c76ae7f532dd63c6aecdc30f31d68a259b6a26a10197f1fe42dc9147a52ac12a0c3fc4b7cd61d288a343a9223f967a5a9a15a0614330b41f68dc
+DIST gengetopt-2.23.tar.xz 584860 BLAKE2B efd94e28d35319f3a04af4f97b87fd8a07bef93856da0dcfad54ab4800d43510f7948bbb7440f39abfe242aede5657abd874bf4ab4dd311336e10f37e7960cb5 SHA512 3749191d35acbeff6680f2a4d0516706a0491053f632aaa44ead7c3a42e56f9870bd7c4a85a1886f2052e17d86a2853e2f65d445e0c9920e41f1dc354f003712
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}
+}