Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 46022 Details for
Bug 74456
libpng 1.2.8 released
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
libpng-1.2.8.ebuild
libpng-1.2.8.ebuild (text/plain), 1.70 KB, created by
Ryan Hill (RETIRED)
on 2004-12-15 02:17:14 UTC
(
hide
)
Description:
libpng-1.2.8.ebuild
Filename:
MIME Type:
Creator:
Ryan Hill (RETIRED)
Created:
2004-12-15 02:17:14 UTC
Size:
1.70 KB
patch
obsolete
># Copyright 1999-2004 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >inherit flag-o-matic eutils gcc > >DESCRIPTION="Portable Network Graphics library" >HOMEPAGE="http://www.libpng.org/" >SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" > >LICENSE="as-is" >SLOT="1.2" >KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~ppc-macos ~s390 ~sparc ~x86" >IUSE="" > >DEPEND="sys-libs/zlib" > >src_unpack() { > unpack ${A} > cd "${S}" > > epatch "${FILESDIR}/${PV}-gentoo.diff" > > if [ "$(gcc-version)" == "3.3" -o "$(gcc-version)" == "3.2" ] ; then > replace-cpu-flags k6 k6-2 k6-3 i586 > fi > > if use ppc-macos ; then > epatch "${FILESDIR}/macos.patch" # implements strnlen > sed \ > -e "s:ZLIBLIB=.*:ZLIBLIB=/usr/$(get_libdir):" \ > -e "s:ZLIBINC=.*:ZLIBINC=/usr/include:" \ > -e "s:-O3:${CFLAGS}:" \ > -e "s:prefix=/usr/local:prefix=/usr:" \ > scripts/makefile.darwin > Makefile > else > sed \ > -e "s:ZLIBLIB=.*:ZLIBLIB=/usr/$(get_libdir):" \ > -e "s:ZLIBINC=.*:ZLIBINC=/usr/include:" \ > -e "s:-O3:${CFLAGS}:" \ > -e "s:prefix=/usr/local:prefix=/usr:" \ > -e "s:OBJSDLL = :OBJSDLL = -lz -lm :" \ > scripts/makefile.linux > Makefile > fi >} > >src_compile() { > emake \ > CC="$(gcc-getCC)" \ > CXX="$(gcc-getCXX)" \ > || die "emake failed" >} > >src_install() { > dodir /usr/include /usr/$(get_libdir) /usr/share/man > make DESTDIR="${D}" MANPATH="/usr/share/man" LIBPATH="/usr/$(get_libdir)" install || die > doman libpng.3 libpngpf.3 png.5 > dodoc ANNOUNCE CHANGES KNOWNBUG README TODO Y2KINFO >} > >pkg_postinst() { > # the libpng authors really screwed around between 1.2.1 and 1.2.3 > if [ -f "${ROOT}/usr/$(get_libdir)/libpng.so.3.1.2.1" ] ; then > rm "${ROOT}/usr/$(get_libdir)/libpng.so.3.1.2.1" > fi >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 74456
: 46022 |
46023