summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmy Winston <amynka@gentoo.org>2016-02-27 13:45:43 +0100
committerAmy Winston <amynka@gentoo.org>2016-02-27 13:52:33 +0100
commit577f767d8573095c0ebe9cc1643e7a99c0d7a061 (patch)
tree774015010603da4e34a322591c841d40a8a1d3be /sci-libs
parentdev-cpp/eigen: Drop HPPA keywording. (diff)
downloadgentoo-577f767d8573095c0ebe9cc1643e7a99c0d7a061.tar.gz
gentoo-577f767d8573095c0ebe9cc1643e7a99c0d7a061.tar.bz2
gentoo-577f767d8573095c0ebe9cc1643e7a99c0d7a061.zip
sci-libs/libgeotiff: version bump 1.4.1 bug #555498
Package-Manager: portage-2.2.26
Diffstat (limited to 'sci-libs')
-rw-r--r--sci-libs/libgeotiff/Manifest1
-rw-r--r--sci-libs/libgeotiff/libgeotiff-1.4.1.ebuild74
2 files changed, 75 insertions, 0 deletions
diff --git a/sci-libs/libgeotiff/Manifest b/sci-libs/libgeotiff/Manifest
index 547558d475c8..a27b2cbb1836 100644
--- a/sci-libs/libgeotiff/Manifest
+++ b/sci-libs/libgeotiff/Manifest
@@ -1 +1,2 @@
DIST libgeotiff-1.4.0.tar.gz 1517881 SHA256 d0acb8d341fd6a8f2c673456e09fdb8f50f91e3166ac934719fe05b30d328329 SHA512 1336e9b5345d69c47807f350d2f757c753543fecc477a6fc036743e78fbfca7b7f99db1b0fdf03e80418fbd4c66db100d04ac7c3338913f9a2b922b9c9f91f1b WHIRLPOOL e6ce9c65db229dd95fd8d6296a926bc2efeac8700775f4a29cbcf3b4d218dc2a566141f14e453628253bf596cd4da7c3771a857e6fb90076f46bf32a357fa0fc
+DIST libgeotiff-1.4.1.tar.gz 1674928 SHA256 acfc76ee19b3d41bb9c7e8b780ca55d413893a96c09f3b27bdb9b2573b41fd23 SHA512 4a68bd7b9adf7453fdcb8f98cdeb79289b5f21315d1ef91d54fcc01724c8d687d243826c05a5523bb08c930296335959d2290916d46b6d802e63ac9be727c628 WHIRLPOOL 047c9be32bfd8735ccb01fa9027674b1c16a67229d68974da5cfdf381c2d824f24c7139f2806bc6b1630ba2d9373191da99f8a0faad4e35cea658d34f14ac9d2
diff --git a/sci-libs/libgeotiff/libgeotiff-1.4.1.ebuild b/sci-libs/libgeotiff/libgeotiff-1.4.1.ebuild
new file mode 100644
index 000000000000..fb3e04a947c7
--- /dev/null
+++ b/sci-libs/libgeotiff/libgeotiff-1.4.1.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit autotools eutils
+
+MY_P=${P/_rc/RC}
+
+DESCRIPTION="Library for reading TIFF files with embedded tags for geographic information"
+HOMEPAGE="http://geotiff.osgeo.org/"
+SRC_URI="http://download.osgeo.org/geotiff/${PN}/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
+IUSE="debug doc static-libs"
+
+RDEPEND="
+ virtual/jpeg:=
+ >=media-libs/tiff-3.9.1:0
+ sci-libs/proj
+ sys-libs/zlib"
+
+DEPEND="${RDEPEND}
+ doc? ( app-doc/doxygen )"
+
+S=${WORKDIR}/${MY_P/RC*/}
+
+DOCS=( README ChangeLog )
+
+src_prepare() {
+ epatch_user
+ sed -i \
+ -e "s:-O3::g" \
+ configure.ac || die
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ $(use_enable static-libs static) \
+ --enable-debug=$(use debug && echo yes || echo no) \
+ --with-jpeg="${EPREFIX}"/usr/ \
+ --with-zip="${EPREFIX}"/usr/
+
+}
+src_compile() {
+ default
+
+ if use doc; then
+ mkdir -p docs/api
+ cp "${FILESDIR}"/Doxyfile Doxyfile
+ doxygen -u Doxyfile || die "updating doxygen config failed"
+ doxygen Doxyfile || die "docs generation failed"
+ fi
+}
+
+src_install() {
+ default
+
+ use doc && dohtml docs/api/*
+ prune_libtool_files
+}
+
+pkg_postinst() {
+ echo
+ ewarn "You should rebuild any packages built against ${PN} by running:"
+ ewarn "# revdep-rebuild"
+ ewarn "or using preserved-rebuild features of portage-2.2:"
+ ewarn "# emerge @preserved-rebuild"
+ echo
+}