diff options
author | Mike Frysinger <vapier@gentoo.org> | 2011-04-26 17:43:41 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2011-04-26 17:43:41 +0000 |
commit | ee3a1b092bbf14dcc0036dbb49993ee2ed8caef7 (patch) | |
tree | 3a71018019a50c72f791917bd2c7caeaa6948ad2 /media-gfx/apngopt/apngopt-1.0.ebuild | |
parent | Add USE=apng support #183370 by Radoslaw Szkodzinski. (diff) | |
download | historical-ee3a1b092bbf14dcc0036dbb49993ee2ed8caef7.tar.gz historical-ee3a1b092bbf14dcc0036dbb49993ee2ed8caef7.tar.bz2 historical-ee3a1b092bbf14dcc0036dbb49993ee2ed8caef7.zip |
New package.
Package-Manager: portage-2.2.0_alpha28/cvs/Linux x86_64
Diffstat (limited to 'media-gfx/apngopt/apngopt-1.0.ebuild')
-rw-r--r-- | media-gfx/apngopt/apngopt-1.0.ebuild | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/media-gfx/apngopt/apngopt-1.0.ebuild b/media-gfx/apngopt/apngopt-1.0.ebuild new file mode 100644 index 000000000000..7f42bf38deba --- /dev/null +++ b/media-gfx/apngopt/apngopt-1.0.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/apngopt/apngopt-1.0.ebuild,v 1.1 2011/04/26 17:43:41 vapier Exp $ + +EAPI="3" + +inherit toolchain-funcs + +DESCRIPTION="extract PNG frames from an APNG" +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="media-libs/libpng[apng]" +DEPEND="${RDEPEND} + dev-util/pkgconfig + app-arch/unzip" + +S=${WORKDIR} + +src_compile() { + emake CC="$(tc-getCC)" LDLIBS="$($(tc-getPKG_CONFIG) --libs libpng)" ${PN} || die +} + +src_install() { + dobin ${PN} || die + dodoc readme.txt +} |