From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 7B62E158093 for ; Sat, 2 Jul 2022 09:55:43 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AD6EEE0831; Sat, 2 Jul 2022 09:55:42 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 224DEE0831 for ; Sat, 2 Jul 2022 09:55:42 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A1E4534106B for ; Sat, 2 Jul 2022 09:55:36 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6DF8C326 for ; Sat, 2 Jul 2022 09:55:32 +0000 (UTC) From: "Matthew Smith" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Matthew Smith" Message-ID: <1656755718.4681f9906d2cc57a862076c074020288f60d133e.matthew@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/argtable/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/argtable/argtable-2.13-r1.ebuild X-VCS-Directories: dev-libs/argtable/ X-VCS-Committer: matthew X-VCS-Committer-Name: Matthew Smith X-VCS-Revision: 4681f9906d2cc57a862076c074020288f60d133e X-VCS-Branch: master Date: Sat, 2 Jul 2022 09:55:32 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: da8c8f45-955a-4d7b-82de-599a50526f2e X-Archives-Hash: 2fb11d1aa3084d267c97ac658ac34e3f commit: 4681f9906d2cc57a862076c074020288f60d133e Author: Matthew Smith gentoo org> AuthorDate: Sat Jul 2 09:54:57 2022 +0000 Commit: Matthew Smith gentoo 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 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" +}