From 412a360181fcf9349d2cdc1bf1e7cf36cf50dc8f Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Thu, 14 Nov 2002 17:16:14 +0000 Subject: Inital ebuild --- media-gfx/pngtoico/ChangeLog | 8 +++++++ media-gfx/pngtoico/files/digest-pngtoico-1.0 | 1 + .../pngtoico/files/pngtoico-1.0-Makefile.patch | 15 ++++++++++++ media-gfx/pngtoico/pngtoico-1.0.ebuild | 28 ++++++++++++++++++++++ 4 files changed, 52 insertions(+) create mode 100644 media-gfx/pngtoico/ChangeLog create mode 100644 media-gfx/pngtoico/files/digest-pngtoico-1.0 create mode 100644 media-gfx/pngtoico/files/pngtoico-1.0-Makefile.patch create mode 100644 media-gfx/pngtoico/pngtoico-1.0.ebuild (limited to 'media-gfx/pngtoico') diff --git a/media-gfx/pngtoico/ChangeLog b/media-gfx/pngtoico/ChangeLog new file mode 100644 index 000000000000..181d05e35247 --- /dev/null +++ b/media-gfx/pngtoico/ChangeLog @@ -0,0 +1,8 @@ +# ChangeLog for media-gfx/pngtoico +# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/pngtoico/ChangeLog,v 1.1 2002/11/14 17:16:14 vapier Exp $ + +*pngtoico-1.0 (14 Nov 2002) + + 14 Nov 2002; Mike Frysinger : + Initial import. Ebuild submitted by Alastair Tse . diff --git a/media-gfx/pngtoico/files/digest-pngtoico-1.0 b/media-gfx/pngtoico/files/digest-pngtoico-1.0 new file mode 100644 index 000000000000..65ae33aef047 --- /dev/null +++ b/media-gfx/pngtoico/files/digest-pngtoico-1.0 @@ -0,0 +1 @@ +MD5 995efd27a1011f30a9ff72aa148fdc66 pngtoico-1.0.tar.bz2 4480 diff --git a/media-gfx/pngtoico/files/pngtoico-1.0-Makefile.patch b/media-gfx/pngtoico/files/pngtoico-1.0-Makefile.patch new file mode 100644 index 000000000000..eab1c38f5711 --- /dev/null +++ b/media-gfx/pngtoico/files/pngtoico-1.0-Makefile.patch @@ -0,0 +1,15 @@ +--- Makefile 2002-01-01 22:46:46.000000000 +0000 ++++ Makefile.new 2002-11-11 01:11:12.000000000 +0000 +@@ -21,9 +21,9 @@ + man1dir = $(mandir)/man1 + + CC = gcc -W -Wall +-CFLAGS = -O2 -fomit-frame-pointer +-LDFLAGS = -s +-LIBS = -lpng ++CFLAGS = -O2 -fomit-frame-pointer `libpng-config --cflags` ++LDFLAGS = -s `libpng-config --ldflags` ++LIBS = `libpng-config --libs` + INSTALL = install + INSTALL_EXEC = $(INSTALL) -c -m 755 + INSTALL_DATA = $(INSTALL) -c -m 644 diff --git a/media-gfx/pngtoico/pngtoico-1.0.ebuild b/media-gfx/pngtoico/pngtoico-1.0.ebuild new file mode 100644 index 000000000000..90bc6a2ea0f1 --- /dev/null +++ b/media-gfx/pngtoico/pngtoico-1.0.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/pngtoico/pngtoico-1.0.ebuild,v 1.1 2002/11/14 17:16:14 vapier Exp $ + +DESCRIPTION="Convert png images to MS ico format" +HOMEPAGE="http://www.kernel.org/pub/software/graphics/pngtoico/" +SRC_URI="ftp://ftp.kernel.org/pub/software/graphics/pngtoico/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="x86" + +DEPEND="media-libs/libpng" + +src_unpack() { + unpack ${A} + cd ${S} + patch -p1 Makefile < ${FILESDIR}/${P}-Makefile.patch +} + +src_compile() { + emake || die +} + +src_install() { + dobin pngtoico + doman pngtoico.1 +} -- cgit v1.2.3-65-gdbad