/[gentoo-x86]/media-gfx/pngcrush/pngcrush-1.6.7.ebuild
Gentoo

Contents of /media-gfx/pngcrush/pngcrush-1.6.7.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Sun Nov 30 21:35:11 2008 UTC (10 years ago) by ssuominen
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +1 -1 lines
FILE REMOVED
Remove too big patch from FILESDIR, thanks to Diego wrt #248985.
(Portage version: 2.1.6_rc2/cvs/Linux 2.6.27.7 i686, RepoMan options: --force)

1 # Copyright 1999-2008 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/media-gfx/pngcrush/pngcrush-1.6.7.ebuild,v 1.4 2008/08/24 15:49:13 nixnut Exp $
4
5 inherit eutils toolchain-funcs
6
7 DESCRIPTION="Portable Network Graphics (PNG) optimizing utility"
8 HOMEPAGE="http://pmt.sourceforge.net/pngcrush"
9 SRC_URI="mirror://debian/pool/main/p/${PN}/${PN}_${PV}.orig.tar.gz"
10
11 LICENSE="as-is"
12 SLOT="0"
13 KEYWORDS="~alpha amd64 ppc x86"
14 IUSE=""
15
16 DEPEND=">=media-libs/libpng-1.2.26-r1"
17
18 S=${WORKDIR}/${P}-nolib
19
20 src_unpack() {
21 unpack ${A}
22 cd "${S}"
23 # Use system libpng, fix various bugs and sanitize Makefile
24 epatch "${FILESDIR}"/${P}-modified_debian_patchset_1.patch
25 }
26
27 src_compile() {
28 tc-export CC
29 emake || die "emake failed."
30 }
31
32 src_install() {
33 dobin ${PN} || die "dobin failed."
34 dodoc *.txt
35 }

  ViewVC Help
Powered by ViewVC 1.1.20