Skip to content

Commit

Permalink
sci-libs/shapelib: version bump 1.4.1
Browse files Browse the repository at this point in the history
Closes: https://bugs.gentoo.org/650946
Package-Manager: Portage-2.3.19, Repoman-2.3.6
  • Loading branch information
Amynka committed Mar 21, 2018
1 parent d85cde7 commit a6f1ed7
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 0 deletions.
1 change: 1 addition & 0 deletions sci-libs/shapelib/Manifest
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
DIST shapelib-1.4.0.tar.gz 548990 BLAKE2B 0e75481d35f8dc5687eee23696d46a780d4b185a81ca1246e5c19f01e58f4a55dc7b69347c9effa01ac1786c5271dfe3907798cc81fe9314979c502bcb9d982d SHA512 206b81fe859a837e821e449ab1b2dbd5a3aa7abd1871da4aec69e130b6fad6300697429884ce359c90e4b76bca90e2108f32b9fdbd3b92013fa5a39f3bedeeb1
DIST shapelib-1.4.1.tar.gz 549831 BLAKE2B e579704bd71c2525133f87628261e78f39e8063cd7e8a57997e90a8ca4a6ebb5de3a4d1ab8da5d00afe1363d9eb22e8c7a9a66ac109c300b72b6d26bd87b61fd SHA512 791c1a0d6c5ff09341176f68349ebd760ae91e8749a9f844299d7ac38a42c4f1131e63479c384a8a8b05a89e90d02e9fd92c526cab417eb80b171d639b4a4422
38 changes: 38 additions & 0 deletions sci-libs/shapelib/shapelib-1.4.1.ebuild
Original file line number Diff line number Diff line change
@@ -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
}

0 comments on commit a6f1ed7

Please sign in to comment.