| 1 | # Copyright 1999-2009 Gentoo Foundation |
1 | # Copyright 1999-2009 Gentoo Foundation |
| 2 | # Distributed under the terms of the GNU General Public License v2 |
2 | # Distributed under the terms of the GNU General Public License v2 |
| 3 | # $Header: /var/cvsroot/gentoo-x86/media-libs/netpbm/Attic/netpbm-10.48.00.ebuild,v 1.4 2009/11/17 15:54:32 vapier Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/media-libs/netpbm/Attic/netpbm-10.48.00.ebuild,v 1.5 2009/12/12 15:58:23 vapier Exp $ |
| 4 | |
4 | |
| 5 | inherit toolchain-funcs eutils multilib |
5 | inherit toolchain-funcs eutils multilib |
| 6 | |
6 | |
| 7 | MAN_VER=10.33 |
7 | MAN_VER=10.33 |
| 8 | DESCRIPTION="A set of utilities for converting to/from the netpbm (and related) formats" |
8 | DESCRIPTION="A set of utilities for converting to/from the netpbm (and related) formats" |
| … | |
… | |
| 80 | src_unpack() { |
80 | src_unpack() { |
| 81 | unpack ${A} |
81 | unpack ${A} |
| 82 | cd "${S}" |
82 | cd "${S}" |
| 83 | |
83 | |
| 84 | epatch "${FILESDIR}"/netpbm-10.31-build.patch |
84 | epatch "${FILESDIR}"/netpbm-10.31-build.patch |
|
|
85 | epatch "${FILESDIR}"/netpbm-10.48.00-pnmtopng-zlib.patch #291987 |
| 85 | |
86 | |
| 86 | # avoid ugly depend.mk warnings |
87 | # avoid ugly depend.mk warnings |
| 87 | touch $(find . -name Makefile | sed s:Makefile:depend.mk:g) |
88 | touch $(find . -name Makefile | sed s:Makefile:depend.mk:g) |
| 88 | |
89 | |
| 89 | cat config.mk.in /dev/stdin >> config.mk <<-EOF |
90 | cat config.mk.in /dev/stdin >> config.mk <<-EOF |