mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-20 10:17:08 -08:00
dev-cpp/pngpp: treeclean
Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>
This commit is contained in:
@@ -1 +0,0 @@
|
||||
DIST png++-0.2.9.tar.gz 592770 BLAKE2B 12419e3c964f92022f992e25d2efcfb01c7f6275aba1db159372f84cbf0e0bf0e92e95dac419ff0f6248dd1ecf63918b11096e7e6baa8da5704909e69cb7aeca SHA512 905e037faf26eef9ca1d9508471dde9f480f41a87d72133057865078b2fd040b1cf84727ece48d79117d615fdfbc0a749fec7dbe362366763e2017865a7fe132
|
||||
@@ -1,15 +0,0 @@
|
||||
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++
|
||||
@@ -1,8 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<!-- maintainer-needed -->
|
||||
<upstream>
|
||||
<remote-id type="savannah-nongnu">pngpp</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
@@ -1,34 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user