summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Mair-Keimberger <mmk@levelnine.at>2023-08-18 19:30:35 +0200
committerConrad Kostecki <conikost@gentoo.org>2023-08-20 00:29:59 +0200
commitcc676b6ed7efa5dc05addae85dbec6515ca6ea6b (patch)
tree9b0f5b6b710a3edf0ebeb22f252ea26d7a98da97 /dev-util
parentnet-misc/gns3-server: remove old (diff)
downloadgentoo-cc676b6ed7efa5dc05addae85dbec6515ca6ea6b.tar.gz
gentoo-cc676b6ed7efa5dc05addae85dbec6515ca6ea6b.tar.bz2
gentoo-cc676b6ed7efa5dc05addae85dbec6515ca6ea6b.zip
dev-util/gengetopt: EAPI8 bump, fix LICENSE
Signed-off-by: Michael Mair-Keimberger <mmk@levelnine.at> Closes: https://bugs.gentoo.org/877415 Closes: https://github.com/gentoo/gentoo/pull/32376 Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'dev-util')
-rw-r--r--dev-util/gengetopt/gengetopt-2.23-r1.ebuild29
1 files changed, 29 insertions, 0 deletions
diff --git a/dev-util/gengetopt/gengetopt-2.23-r1.ebuild b/dev-util/gengetopt/gengetopt-2.23-r1.ebuild
new file mode 100644
index 000000000000..564527128402
--- /dev/null
+++ b/dev-util/gengetopt/gengetopt-2.23-r1.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools
+
+DESCRIPTION="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+ public-domain"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
+
+BDEPEND="sys-apps/texinfo"
+
+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
+}