commit:     4681f9906d2cc57a862076c074020288f60d133e
Author:     Matthew Smith <matthew <AT> gentoo <DOT> org>
AuthorDate: Sat Jul  2 09:54:57 2022 +0000
Commit:     Matthew Smith <matthew <AT> gentoo <DOT> org>
CommitDate: Sat Jul  2 09:55:18 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4681f990

Revert "dev-libs/argtable: drop 2.13-r1"

This reverts commit a20aceab3b5f2fb399c0acdb5fc765ba023a6176.

Signed-off-by: Matthew Smith <matthew <AT> gentoo.org>

 dev-libs/argtable/argtable-2.13-r1.ebuild | 48 +++++++++++++++++++++++++++++++
 1 file changed, 48 insertions(+)

diff --git a/dev-libs/argtable/argtable-2.13-r1.ebuild 
b/dev-libs/argtable/argtable-2.13-r1.ebuild
new file mode 100644
index 000000000000..e8053275362f
--- /dev/null
+++ b/dev-libs/argtable/argtable-2.13-r1.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit versionator
+
+DESCRIPTION="An ANSI C library for parsing GNU-style command-line options with 
minimal fuss"
+HOMEPAGE="http://argtable.sourceforge.net/";
+
+MY_PV="$(replace_version_separator 1 '-')"
+MY_P=${PN}${MY_PV}
+
+SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
+
+LICENSE="LGPL-2"
+SLOT="0"
+KEYWORDS="~alpha amd64 ~arm64 ~ia64 ppc ppc64 ~riscv sparc x86"
+IUSE="doc debug examples static-libs"
+
+S="${WORKDIR}/${MY_P}"
+
+src_configure() {
+       econf \
+               $(use_enable debug) \
+               $(use_enable static-libs static)
+}
+
+src_install() {
+       emake DESTDIR="${D}" install
+       rm -rf "${D}"/usr/share/doc/${PF}/
+
+       dodoc AUTHORS ChangeLog NEWS README
+
+       if use doc ; then
+               cd "${S}/doc"
+               dodoc *.pdf *.ps
+               docinto html
+               dodoc *.html *.gif
+       fi
+
+       if use examples ; then
+               cd "${S}/example"
+               docinto examples
+               dodoc Makefile *.[ch] README.txt
+       fi
+
+       find "${ED}" -name "*.la" -delete || die "failed to delete .la files"
+}

Reply via email to