summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2002-11-14 17:16:14 +0000
committerMike Frysinger <vapier@gentoo.org>2002-11-14 17:16:14 +0000
commit412a360181fcf9349d2cdc1bf1e7cf36cf50dc8f (patch)
tree3dd1c6a73caf1146de3b49db6623e00dd1d9194c /media-gfx/pngtoico
parentnew revision (diff)
downloadgentoo-2-412a360181fcf9349d2cdc1bf1e7cf36cf50dc8f.tar.gz
gentoo-2-412a360181fcf9349d2cdc1bf1e7cf36cf50dc8f.tar.bz2
gentoo-2-412a360181fcf9349d2cdc1bf1e7cf36cf50dc8f.zip
Inital ebuild
Diffstat (limited to 'media-gfx/pngtoico')
-rw-r--r--media-gfx/pngtoico/ChangeLog8
-rw-r--r--media-gfx/pngtoico/files/digest-pngtoico-1.01
-rw-r--r--media-gfx/pngtoico/files/pngtoico-1.0-Makefile.patch15
-rw-r--r--media-gfx/pngtoico/pngtoico-1.0.ebuild28
4 files changed, 52 insertions, 0 deletions
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 <vapier@gentoo.org> :
+ Initial import. Ebuild submitted by Alastair Tse <gentoo@liquidx.net>.
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
+}