diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /media-gfx/pngtools/pngtools-0.4-r2.ebuild |
reinit the tree, so we can have metadata
Diffstat (limited to 'media-gfx/pngtools/pngtools-0.4-r2.ebuild')
-rw-r--r-- | media-gfx/pngtools/pngtools-0.4-r2.ebuild | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/media-gfx/pngtools/pngtools-0.4-r2.ebuild b/media-gfx/pngtools/pngtools-0.4-r2.ebuild new file mode 100644 index 000000000000..b561e2cde5e5 --- /dev/null +++ b/media-gfx/pngtools/pngtools-0.4-r2.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=4 +inherit autotools eutils + +MY_PV=${PV/./_} + +DESCRIPTION="A series of tools for the PNG image format" +HOMEPAGE="http://www.stillhq.com/pngtools/" +SRC_URI="http://www.stillhq.com/pngtools/source/pngtools_${MY_PV}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ppc x86" +IUSE="" + +RDEPEND=">=media-libs/libpng-1.4:0" +DEPEND="${RDEPEND}" + +src_prepare() { + epatch "${FILESDIR}"/${PN}-0.3-implicit-declarations.patch + epatch "${FILESDIR}"/${P}-libpng14.patch + epatch "${FILESDIR}"/${P}-libpng15-fixes.patch + + eautoreconf +} + +src_install() { + emake DESTDIR="${D}" install + dodoc ABOUT AUTHORS ChangeLog NEWS README chunks.txt + insinto /usr/share/doc/${PF}/examples + doins *.png +} |