1 # Copyright 1999-2016 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
6 inherit toolchain-funcs
8 DESCRIPTION="optimize APNG images"
9 HOMEPAGE="https://sourceforge.net/projects/apng/"
10 SRC_URI="mirror://sourceforge/apng/${P}-src.zip"
14 KEYWORDS="~amd64 ~x86"
17 RDEPEND="sys-libs/zlib
18 >=app-arch/zopfli-1.0.1-r2:=
25 PATCHES=( "${FILESDIR}"/${P}-makefile.patch )
29 rm -rf libpng zlib zopfli || die
33 emake CC="$(tc-getCC)" ${PN}