diff options
author | David Seifert <soap@gentoo.org> | 2017-01-22 21:23:45 +0100 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2017-01-22 21:24:05 +0100 |
commit | 8e5d752ff04dc5377eae5369b1e2ab53303b5e1f (patch) | |
tree | 5427f8c68cde7098d4efb02bbedcb3db3bb3cf4f /dev-cpp | |
parent | dev-texlive/texlive-langczechslovak: add dep on tl-luatex, bug #606802 (diff) | |
download | gentoo-8e5d752ff04dc5377eae5369b1e2ab53303b5e1f.tar.gz gentoo-8e5d752ff04dc5377eae5369b1e2ab53303b5e1f.tar.bz2 gentoo-8e5d752ff04dc5377eae5369b1e2ab53303b5e1f.zip |
dev-cpp/pngpp: Version bump to 0.2.9
* Bump EAPI to 6
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'dev-cpp')
-rw-r--r-- | dev-cpp/pngpp/Manifest | 1 | ||||
-rw-r--r-- | dev-cpp/pngpp/files/pngpp-0.2.9-DESTDIR.patch | 15 | ||||
-rw-r--r-- | dev-cpp/pngpp/pngpp-0.2.9.ebuild | 35 |
3 files changed, 51 insertions, 0 deletions
diff --git a/dev-cpp/pngpp/Manifest b/dev-cpp/pngpp/Manifest index 09a2099d16cf..d98fe8acae89 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 000000000000..ee9b29ef7558 --- /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 000000000000..31d97add6332 --- /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 +} |