From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 201F613829C for ; Tue, 31 May 2016 12:22:49 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 60FB921C01D; Tue, 31 May 2016 12:22:46 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 04D0921C01D for ; Tue, 31 May 2016 12:22:45 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 979A4340C50 for ; Tue, 31 May 2016 12:22:44 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2BFC4983 for ; Tue, 31 May 2016 12:22:39 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1464697356.64be55454886b6b693413b2669a095d35f435e85.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-arch/snappy/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-arch/snappy/snappy-1.1.3-r1.ebuild X-VCS-Directories: app-arch/snappy/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 64be55454886b6b693413b2669a095d35f435e85 X-VCS-Branch: master Date: Tue, 31 May 2016 12:22: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-Archives-Salt: 9ec918f2-36f2-403a-98dd-b2cba8ba9b09 X-Archives-Hash: 570198b27b733ec780d2ef7ce0c99e18 commit: 64be55454886b6b693413b2669a095d35f435e85 Author: Michał Górny gentoo org> AuthorDate: Tue May 31 12:20:07 2016 +0000 Commit: Michał Górny gentoo org> CommitDate: Tue May 31 12:22:36 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=64be5545 app-arch/snappy: Clean up the ebuild, bump to EAPI=6 Replace partial use of deprecated autotools-multilib with correct combination of autotools & multilib-minimal. Clean up the code a bit, and bump it to EAPI=6. app-arch/snappy/snappy-1.1.3-r1.ebuild | 42 ++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/app-arch/snappy/snappy-1.1.3-r1.ebuild b/app-arch/snappy/snappy-1.1.3-r1.ebuild new file mode 100644 index 0000000..2e7e891 --- /dev/null +++ b/app-arch/snappy/snappy-1.1.3-r1.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 +inherit autotools multilib-minimal + +DESCRIPTION="A high-speed compression/decompression library by Google" +HOMEPAGE="https://github.com/google/snappy" +SRC_URI="https://github.com/google/${PN}/releases/download/${PV}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86 + ~amd64-fbsd ~amd64-linux ~x86-linux" +IUSE="static-libs" + +src_prepare() { + # Avoid automagic lzo and gzip by not checking for it + sed -i '/^CHECK_EXT_COMPRESSION_LIB/d' configure.ac || die + + # don't install unwanted files + sed -i 's/COPYING INSTALL//' Makefile.am || die + + default + eautoreconf +} + +multilib_src_configure() { + local myconf=( + --without-gflags + --disable-gtest + $(use_enable static-libs static) + ) + + ECONF_SOURCE=${S} \ + econf "${myconf[@]}" +} + +multilib_src_install_all() { + find "${ED%/}"/usr/lib* -name '*.la' -delete || die +}