media-gfx/pngcheck - 3.0.3 (gentoo)

Search

Package Information

Description:
Verifies the integrity of PNG, JNG, and MNG files with internal checksums
Homepage:
http://www.libpng.org/pub/png/apps/pngcheck.html
License:
HPND GPL-2+

Ebuild Details

Version EAPI Keywords Slot
3.0.3 8 amd64 x86 0
View Raw Ebuild
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit toolchain-funcs

DESCRIPTION="Verifies the integrity of PNG, JNG, and MNG files with internal checksums"
HOMEPAGE="http://www.libpng.org/pub/png/apps/pngcheck.html"
SRC_URI="http://www.libpng.org/pub/png/src/${P}.tar.gz"

LICENSE="HPND GPL-2+"
SLOT="0"
KEYWORDS="amd64 x86"

RDEPEND="virtual/zlib:="
DEPEND="${RDEPEND}"

src_compile() {
	emake -f Makefile.unx \
		CC="$(tc-getCC)" \
		LD="$(tc-getLD)" \
		CFLAGS="${CFLAGS} ${LDFLAGS} -DUSE_ZLIB" \
		ZLIB="-lz"
}

src_install() {
	dobin png{check,split,-fix-IDAT-windowsize}
	doman pngcheck.1 gpl/pngsplit.1

	einstalldocs
}

Dependencies

DEPEND

virtual/zlib:=

RDEPEND

virtual/zlib:=

Manifest for 3.0.3

Type File Size Source URLs
DIST pngcheck-3.0.3.tar.gz 63766 bytes http://www.libpng.org/pub/png/src/pngcheck-3.0.3.tar.gz