public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: dev-cpp/pngpp/files/, dev-cpp/pngpp/
@ 2017-01-22 20:24 David Seifert
  0 siblings, 0 replies; only message in thread
From: David Seifert @ 2017-01-22 20:24 UTC (permalink / raw
  To: gentoo-commits

commit:     8e5d752ff04dc5377eae5369b1e2ab53303b5e1f
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 22 20:23:45 2017 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sun Jan 22 20:24:05 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8e5d752f

dev-cpp/pngpp: Version bump to 0.2.9

* Bump EAPI to 6

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 dev-cpp/pngpp/Manifest                        |  1 +
 dev-cpp/pngpp/files/pngpp-0.2.9-DESTDIR.patch | 15 ++++++++++++
 dev-cpp/pngpp/pngpp-0.2.9.ebuild              | 35 +++++++++++++++++++++++++++
 3 files changed, 51 insertions(+)

diff --git a/dev-cpp/pngpp/Manifest b/dev-cpp/pngpp/Manifest
index 09a2099..d98fe8a 100644
--- a/dev-cpp/pngpp/Manifest
+++ b/dev-cpp/pngpp/Manifest
@@ -1 +1,2 @@
 DIST png++-0.2.5.tar.gz 577854 SHA256 339fa2dff2cdd117efb43768cb272745faef4d02705b5e0e840537a2c1467b72 SHA512 df1cc5eab06bc15ab180ef7c53a0237bbf9fabccfb04105c92eda0b40f8b181466a386a3abd52f0b733a995414384c99df2d85c7bf211831c838f97b798d4183 WHIRLPOOL 13264b9b51f9850fde3200d7d92834bd7fef2a0d9282ea2dc999b0bc2a1988de1fc10a544a7533f970ee1760b8091e8195b1d5bdecb4388311606e18fea91f9f
+DIST png++-0.2.9.tar.gz 592770 SHA256 abbc6a0565122b6c402d61743451830b4faee6ece454601c5711e1c1b4238791 SHA512 905e037faf26eef9ca1d9508471dde9f480f41a87d72133057865078b2fd040b1cf84727ece48d79117d615fdfbc0a749fec7dbe362366763e2017865a7fe132 WHIRLPOOL 1e49a62d4ae7fc8eb2fa031310f92a77348a55e1f33db63c315f8bc785208cb11818e21d0d7fedd4ace0bfcde1194c43ab844d0408de9f01a108202d35ff0c3d

diff --git a/dev-cpp/pngpp/files/pngpp-0.2.9-DESTDIR.patch b/dev-cpp/pngpp/files/pngpp-0.2.9-DESTDIR.patch
new file mode 100644
index 00000000..ee9b29e
--- /dev/null
+++ b/dev-cpp/pngpp/files/pngpp-0.2.9-DESTDIR.patch
@@ -0,0 +1,15 @@
+Build system does not honour $(DESTDIR)
+
+--- a/Makefile
++++ b/Makefile
+@@ -54,8 +54,8 @@
+ uninstall: uninstall-headers uninstall-docs
+ 
+ install-headers:
+-	mkdir -p $(PREFIX)/include/png++
+-	cp $(headers) $(PREFIX)/include/png++
++	mkdir -p $(DESTDIR)$(PREFIX)/include/png++
++	cp $(headers) $(DESTDIR)$(PREFIX)/include/png++
+ 
+ uninstall-headers:
+ 	rm -rf $(PREFIX)/include/png++

diff --git a/dev-cpp/pngpp/pngpp-0.2.9.ebuild b/dev-cpp/pngpp/pngpp-0.2.9.ebuild
new file mode 100644
index 00000000..31d97ad
--- /dev/null
+++ b/dev-cpp/pngpp/pngpp-0.2.9.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+MY_P=${P/pp/++}
+
+DESCRIPTION="A simple but powerful C++ interface to libpng"
+HOMEPAGE="http://www.nongnu.org/pngpp/"
+SRC_URI="mirror://nongnu/${PN}/${MY_P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="media-libs/libpng:0"
+DEPEND=""
+
+S=${WORKDIR}/${MY_P}
+
+PATCHES=( "${FILESDIR}"/${PN}-0.2.9-DESTDIR.patch )
+
+src_compile() { :; }
+src_test() { :; }
+
+src_install() {
+	emake DESTDIR="${D}" PREFIX="${EPREFIX}"/usr install-headers
+	einstalldocs
+
+	docinto examples
+	dodoc example/*.cpp
+	docompress -x /usr/share/doc/${PF}/examples
+}


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2017-01-22 20:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-01-22 20:24 [gentoo-commits] repo/gentoo:master commit in: dev-cpp/pngpp/files/, dev-cpp/pngpp/ David Seifert

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox