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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id EF7781382C5 for ; Thu, 28 May 2020 14:01:45 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E7950E0829; Thu, 28 May 2020 14:01:43 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C8C26E0829 for ; Thu, 28 May 2020 14:01:43 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 1DF0134EED4 for ; Thu, 28 May 2020 14:01:42 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D1D7B242 for ; Thu, 28 May 2020 14:01:39 +0000 (UTC) From: "Craig Andrews" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Craig Andrews" Message-ID: <1590674492.5103884b8f4d11dfe9aa4b1989065745396f932b.candrews@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libfstrcmp/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/libfstrcmp/libfstrcmp-0.7-r1.ebuild X-VCS-Directories: dev-libs/libfstrcmp/ X-VCS-Committer: candrews X-VCS-Committer-Name: Craig Andrews X-VCS-Revision: 5103884b8f4d11dfe9aa4b1989065745396f932b X-VCS-Branch: master Date: Thu, 28 May 2020 14:01:39 +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: 78d5b65f-03ab-41f2-9dfe-68edbc924ae3 X-Archives-Hash: 1bb9bee1fed3578ecb9f6e34524495d1 commit: 5103884b8f4d11dfe9aa4b1989065745396f932b Author: Craig Andrews gentoo org> AuthorDate: Thu May 28 14:00:57 2020 +0000 Commit: Craig Andrews gentoo org> CommitDate: Thu May 28 14:01:32 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5103884b dev-libs/libfstrcmp: Delete libtool archives and static libraries Closes: https://bugs.gentoo.org/725876 Package-Manager: Portage-2.3.100, Repoman-2.3.22 Signed-off-by: Craig Andrews gentoo.org> dev-libs/libfstrcmp/libfstrcmp-0.7-r1.ebuild | 44 ++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/dev-libs/libfstrcmp/libfstrcmp-0.7-r1.ebuild b/dev-libs/libfstrcmp/libfstrcmp-0.7-r1.ebuild new file mode 100644 index 00000000000..d56c71db588 --- /dev/null +++ b/dev-libs/libfstrcmp/libfstrcmp-0.7-r1.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools + +DESCRIPTION="Make fuzzy comparisons of strings and byte arrays" +HOMEPAGE="http://fstrcmp.sourceforge.net/" + +LICENSE="GPL-3+" +IUSE="doc static-libs test" +SLOT="0" + +SRC_URI="http://fstrcmp.sourceforge.net/fstrcmp-0.7.D001.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/fstrcmp-0.7.D001" +KEYWORDS="~amd64 ~x86" + +DEPEND=" + sys-apps/groff + doc? ( app-text/ghostscript-gpl ) + test? ( app-text/ghostscript-gpl ) +" +RESTRICT="!test? ( test )" + +src_prepare() { + default + eautoreconf +} + +src_compile() { + emake all-bin + use doc && emake all-doc +} + +src_install() { + emake DESTDIR="${D}" install-bin install-include install-libdir install-man + find "${D}" -name '*.la' -delete || die + if ! use static-libs ; then + find "${D}" -name '*.a' -delete || die + fi + use doc && emake DESTDIR="${D}" install-doc + einstalldocs +}