diff options
author | Amy Liffey <amynka@gentoo.org> | 2018-03-21 18:32:22 +0100 |
---|---|---|
committer | Amy Liffey <amynka@gentoo.org> | 2018-03-21 18:44:11 +0100 |
commit | a6f1ed760f2dd6c44ba015479e32d8a8ac037370 (patch) | |
tree | c56bdecc98771960e24d49bae0aa02ecaa279c36 /sci-libs/shapelib/shapelib-1.4.1.ebuild | |
parent | sys-kernel/gentoo-sources: Linux patch 4.14.29 (diff) | |
download | gentoo-a6f1ed760f2dd6c44ba015479e32d8a8ac037370.tar.gz gentoo-a6f1ed760f2dd6c44ba015479e32d8a8ac037370.tar.bz2 gentoo-a6f1ed760f2dd6c44ba015479e32d8a8ac037370.zip |
sci-libs/shapelib: version bump 1.4.1
Closes: https://bugs.gentoo.org/650946
Package-Manager: Portage-2.3.19, Repoman-2.3.6
Diffstat (limited to 'sci-libs/shapelib/shapelib-1.4.1.ebuild')
-rw-r--r-- | sci-libs/shapelib/shapelib-1.4.1.ebuild | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/sci-libs/shapelib/shapelib-1.4.1.ebuild b/sci-libs/shapelib/shapelib-1.4.1.ebuild new file mode 100644 index 000000000000..87fe28c275f3 --- /dev/null +++ b/sci-libs/shapelib/shapelib-1.4.1.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +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 +} |