1 # Copyright 1999-2018 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
5 inherit toolchain-funcs
7 DESCRIPTION="Portable Network Graphics (PNG) optimizing utility"
8 HOMEPAGE="https://pmt.sourceforge.io/pngcrush/"
9 SRC_URI="system-libs? ( mirror://sourceforge/pmt/${P}-nolib.tar.xz )
10 !system-libs? ( mirror://sourceforge/pmt/${P}.tar.xz )"
14 KEYWORDS="~alpha amd64 ~ppc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
26 use system-libs && S+="-nolib"
33 CFLAGS="${CFLAGS} ${CPPFLAGS} -Wall" \