/[gentoo-x86]/media-libs/netpbm/netpbm-10.26.52.ebuild
Gentoo

Diff of /media-libs/netpbm/netpbm-10.26.52.ebuild

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.1 Revision 1.2
1# Copyright 1999-2008 Gentoo Foundation 1# Copyright 1999-2008 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.26.52.ebuild,v 1.1 2008/03/28 03:29:34 vapier Exp $ 3# $Header: /var/cvsroot/gentoo-x86/media-libs/netpbm/Attic/netpbm-10.26.52.ebuild,v 1.2 2008/03/29 16:18:45 vapier Exp $
4 4
5inherit flag-o-matic toolchain-funcs eutils multilib 5inherit flag-o-matic toolchain-funcs eutils multilib
6 6
7MAN_VER=10.30 7MAN_VER=10.30
8DESCRIPTION="A set of utilities for converting to/from the netpbm (and related) formats" 8DESCRIPTION="A set of utilities for converting to/from the netpbm (and related) formats"
47src_unpack() { 47src_unpack() {
48 unpack ${A} 48 unpack ${A}
49 cd "${S}" 49 cd "${S}"
50 50
51 epatch "${FILESDIR}"/netpbm-10.30-build.patch 51 epatch "${FILESDIR}"/netpbm-10.30-build.patch
52 epatch "${FILESDIR}"/netpbm-10.42.0-gcc43.patch #211296
52 53
53 rm -f configure 54 rm -f configure
54 cp Makefile.config.in Makefile.config 55 cp Makefile.config.in Makefile.config
55 cat >> Makefile.config <<-EOF 56 cat >> Makefile.config <<-EOF
56 # Gentoo toolchain options 57 # Gentoo toolchain options
85 replace-flags -mcpu=ultrasparc "-mcpu=v8 -mtune=ultrasparc" 86 replace-flags -mcpu=ultrasparc "-mcpu=v8 -mtune=ultrasparc"
86 replace-flags -mcpu=v9 "-mcpu=v8 -mtune=v9" 87 replace-flags -mcpu=v9 "-mcpu=v8 -mtune=v9"
87} 88}
88 89
89src_install() { 90src_install() {
90 make package pkgdir="${D}"/usr || die "make package failed" 91 emake package pkgdir="${D}"/usr || die "make package failed"
91 92
92 [[ $(get_libdir) != "lib" ]] && mv "${D}"/usr/lib "${D}"/usr/$(get_libdir) 93 [[ $(get_libdir) != "lib" ]] && mv "${D}"/usr/lib "${D}"/usr/$(get_libdir)
93 94
94 # Remove cruft that we don't need, and move around stuff we want 95 # Remove cruft that we don't need, and move around stuff we want
95 rm "${D}"/usr/include/shhopt.h 96 rm "${D}"/usr/include/shhopt.h

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

  ViewVC Help
Powered by ViewVC 1.1.20