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 C9407139085 for ; Mon, 23 Jan 2017 11:07:07 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DC34514211; Mon, 23 Jan 2017 11:07:06 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 B912714211 for ; Mon, 23 Jan 2017 11:07:06 +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 664C93416A7 for ; Mon, 23 Jan 2017 11:07:05 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 379502B1A for ; Mon, 23 Jan 2017 11:07:03 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1485169566.d170b295bc553e2e290c228b3fd0aecc6f5b60f6.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/shapelib/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-libs/shapelib/shapelib-1.4.0-r1.ebuild X-VCS-Directories: sci-libs/shapelib/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: d170b295bc553e2e290c228b3fd0aecc6f5b60f6 X-VCS-Branch: master Date: Mon, 23 Jan 2017 11:07: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: ce77fc05-bc2f-4ed4-84e3-b578e490e476 X-Archives-Hash: da8236b86cbc44e4e1283f419e636ec8 commit: d170b295bc553e2e290c228b3fd0aecc6f5b60f6 Author: Andreas Sturmlechner gentoo org> AuthorDate: Mon Jan 23 11:06:06 2017 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Mon Jan 23 11:06:06 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d170b295 sci-libs/shapelib: Add missing RDEPEND Gentoo-bug: 606884 Package-Manager: portage-2.3.0 sci-libs/shapelib/shapelib-1.4.0-r1.ebuild | 39 ++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/sci-libs/shapelib/shapelib-1.4.0-r1.ebuild b/sci-libs/shapelib/shapelib-1.4.0-r1.ebuild new file mode 100644 index 00000000..259db71 --- /dev/null +++ b/sci-libs/shapelib/shapelib-1.4.0-r1.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +inherit autotools + +DESCRIPTION="Library for manipulating ESRI Shapefiles" +HOMEPAGE="http://shapelib.maptools.org/" +SRC_URI="http://download.osgeo.org/${PN}/${P}.tar.gz" + +LICENSE="GPL-2 LGPL-2" +SLOT="0/2" +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux" +IUSE="doc static-libs" + +RDEPEND="sci-libs/proj" +DEPEND="${RDEPEND}" + +src_prepare() { + default + rm -r m4/* || die + eautoreconf +} + +src_configure() { + econf \ + --includedir=/usr/include/libshp +} + +src_install() { + use doc && HTML_DOCS=( web/. ) + default + + if ! use static-libs; then + find "${D}" \( -name '*.la' -o -name '*.a' \) -delete || die + fi +}