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 5BC4E138334 for ; Wed, 25 Jul 2018 20:12:22 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 33808E070D; Wed, 25 Jul 2018 20:12:20 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 03AD5E08F7 for ; Wed, 25 Jul 2018 20:12:19 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 038C0335CA5 for ; Wed, 25 Jul 2018 20:12:18 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6D59E353 for ; Wed, 25 Jul 2018 20:12:15 +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: <1532549525.72f5117ddd60938a68ca560784f56be683acbcc6.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.ebuild X-VCS-Directories: dev-libs/libfstrcmp/ X-VCS-Committer: candrews X-VCS-Committer-Name: Craig Andrews X-VCS-Revision: 72f5117ddd60938a68ca560784f56be683acbcc6 X-VCS-Branch: master Date: Wed, 25 Jul 2018 20:12:15 +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-Archives-Salt: e2a08964-e8f9-4820-b33b-d79be70899e4 X-Archives-Hash: 75722ff2ddeb878c70321aa52f896511 commit: 72f5117ddd60938a68ca560784f56be683acbcc6 Author: Craig Andrews gentoo org> AuthorDate: Wed Jul 25 20:11:27 2018 +0000 Commit: Craig Andrews gentoo org> CommitDate: Wed Jul 25 20:12:05 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=72f5117d dev-libs/libfstrcmp: eautoreconf and add DOC use flag Closes: https://bugs.gentoo.org/662128 Package-Manager: Portage-2.3.43, Repoman-2.3.10 dev-libs/libfstrcmp/libfstrcmp-0.7.ebuild | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/dev-libs/libfstrcmp/libfstrcmp-0.7.ebuild b/dev-libs/libfstrcmp/libfstrcmp-0.7.ebuild index c156bb325b5..f4d6bb2c005 100644 --- a/dev-libs/libfstrcmp/libfstrcmp-0.7.ebuild +++ b/dev-libs/libfstrcmp/libfstrcmp-0.7.ebuild @@ -3,13 +3,35 @@ EAPI=7 +inherit autotools + DESCRIPTION="Make fuzzy comparisons of strings and byte arrays" HOMEPAGE="http://fstrcmp.sourceforge.net/" LICENSE="GPL-3+" -IUSE="test" +IUSE="doc 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=" + doc? ( app-text/ghostscript-gpl ) +" + +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 + use doc && emake DESTDIR="${D}" install-doc + einstalldocs +}