diff options
author | 2010-09-06 18:42:42 +0000 | |
---|---|---|
committer | 2010-09-06 18:42:42 +0000 | |
commit | 497fa5fb3bfff5a3ad290bbc07f08a10f7ad4ff6 (patch) | |
tree | 2fa83ecc89fb53f322065a4cc555e0b4fcb45bdf /media-gfx/pngtoico/pngtoico-1.0.1-r1.ebuild | |
parent | Revert back to ~arch wrt #330455. (diff) | |
download | historical-497fa5fb3bfff5a3ad290bbc07f08a10f7ad4ff6.tar.gz historical-497fa5fb3bfff5a3ad290bbc07f08a10f7ad4ff6.tar.bz2 historical-497fa5fb3bfff5a3ad290bbc07f08a10f7ad4ff6.zip |
Convert to EAPI=2. Fix patch to respect LDFLAGS, fixing #336185.
Package-Manager: portage-2.1.8.3/cvs/Linux x86_64
Diffstat (limited to 'media-gfx/pngtoico/pngtoico-1.0.1-r1.ebuild')
-rw-r--r-- | media-gfx/pngtoico/pngtoico-1.0.1-r1.ebuild | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/media-gfx/pngtoico/pngtoico-1.0.1-r1.ebuild b/media-gfx/pngtoico/pngtoico-1.0.1-r1.ebuild new file mode 100644 index 000000000000..1d53a2590a10 --- /dev/null +++ b/media-gfx/pngtoico/pngtoico-1.0.1-r1.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/pngtoico/pngtoico-1.0.1-r1.ebuild,v 1.1 2010/09/06 18:42:42 graaff Exp $ + +EAPI=2 + +inherit eutils toolchain-funcs + +DESCRIPTION="Convert png images to MS ico format" +HOMEPAGE="http://www.kernel.org/pub/software/graphics/pngtoico/" +SRC_URI="mirror://kernel/software/graphics/pngtoico/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos" +IUSE="" + +DEPEND="media-libs/libpng" +RDEPEND="${DEPEND}" + +src_prepare() { + epatch "${FILESDIR}/${P}-Makefile.patch" +} + +src_compile() { + emake CC="$(tc-getCC)" || die +} + +src_install() { + dobin pngtoico + doman pngtoico.1 +} |