diff options
Diffstat (limited to 'media-gfx/apngopt/apngopt-1.2.ebuild')
-rw-r--r-- | media-gfx/apngopt/apngopt-1.2.ebuild | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/media-gfx/apngopt/apngopt-1.2.ebuild b/media-gfx/apngopt/apngopt-1.2.ebuild new file mode 100644 index 000000000000..04e57adbbaa3 --- /dev/null +++ b/media-gfx/apngopt/apngopt-1.2.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/apngopt/apngopt-1.2.ebuild,v 1.1 2012/10/03 09:55:32 radhermit Exp $ + +EAPI="4" + +inherit toolchain-funcs + +DESCRIPTION="optimize APNG images" +HOMEPAGE="http://sourceforge.net/projects/apng/" +SRC_URI="mirror://sourceforge/apng/APNG_Optimizer/${PV}/${P}-src.zip" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="sys-libs/zlib" +DEPEND="${RDEPEND} + virtual/pkgconfig + app-arch/unzip" + +S=${WORKDIR} + +src_compile() { + emake CC="$(tc-getCC)" LDLIBS="$($(tc-getPKG_CONFIG) --libs zlib)" ${PN} +} + +src_install() { + dobin ${PN} + dodoc readme.txt +} |