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 0BFBD1395E3 for ; Sun, 13 Nov 2016 00:30:13 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 09090E0C27; Sun, 13 Nov 2016 00:30:10 +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 E49D3E0C27 for ; Sun, 13 Nov 2016 00:30:09 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 444CA34165A for ; Sun, 13 Nov 2016 00:30:08 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 777CF24BC for ; Sun, 13 Nov 2016 00:30:03 +0000 (UTC) From: "Gilles Dartiguelongue" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Gilles Dartiguelongue" Message-ID: <1478996996.8b341e9fa966f90def1ffb00d368182c3c2da055.eva@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libatasmart/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/libatasmart/libatasmart-0.19-r2.ebuild X-VCS-Directories: dev-libs/libatasmart/ X-VCS-Committer: eva X-VCS-Committer-Name: Gilles Dartiguelongue X-VCS-Revision: 8b341e9fa966f90def1ffb00d368182c3c2da055 X-VCS-Branch: master Date: Sun, 13 Nov 2016 00:30:03 +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: 1f0886a3-db24-43dd-9a98-9c41854503b2 X-Archives-Hash: bcb6fcf229a1c4f6999349853324ef07 commit: 8b341e9fa966f90def1ffb00d368182c3c2da055 Author: Gilles Dartiguelongue gentoo org> AuthorDate: Sat Nov 12 23:27:13 2016 +0000 Commit: Gilles Dartiguelongue gentoo org> CommitDate: Sun Nov 13 00:29:56 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b341e9f dev-libs/libatasmart: fix dependency on udev And switch to EAPI=6. Gentoo-Bug: 562750 Package-Manager: portage-2.3.2 dev-libs/libatasmart/libatasmart-0.19-r2.ebuild | 42 +++++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/dev-libs/libatasmart/libatasmart-0.19-r2.ebuild b/dev-libs/libatasmart/libatasmart-0.19-r2.ebuild new file mode 100644 index 00000000..f232df3 --- /dev/null +++ b/dev-libs/libatasmart/libatasmart-0.19-r2.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 eutils + +PATCH_LEVEL=2 + +DESCRIPTION="A small and lightweight parser library for ATA S.M.A.R.T. hard disks" +HOMEPAGE="http://0pointer.de/blog/projects/being-smart.html" +SRC_URI="http://0pointer.de/public/${P}.tar.xz + mirror://debian/pool/main/liba/${PN}/${PN}_${PV}-${PATCH_LEVEL}.debian.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0/4" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86" +IUSE="static-libs" + +RDEPEND="virtual/libudev" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +src_prepare() { + # https://bugs.gentoo.org/470874 + local d="${WORKDIR}"/debian/patches + sed -i -e '/#/d' \ + -e "s|^|${d}/|" "${d}"/series || die + eapply $(<"${d}"/series) + eapply_user +} + +src_configure() { + econf \ + --docdir=/usr/share/doc/${PF} \ + $(use_enable static-libs static) +} + +src_install() { + default + prune_libtool_files --all +}