Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 323649
Collapse All | Expand All

(-)file_not_specified_in_diff (-11 / +9 lines)
Line  Link Here
0
-- libpng-1.4.2.ebuild
0
++ libpng-1.4.2.ebuild
Lines 3-9 Link Here
3
# $Header: /var/cvsroot/gentoo-x86/media-libs/libpng/libpng-1.4.2.ebuild,v 1.4 2010/05/13 20:05:17 ssuominen Exp $
3
# $Header: /var/cvsroot/gentoo-x86/media-libs/libpng/libpng-1.4.2.ebuild,v 1.4 2010/05/13 20:05:17 ssuominen Exp $
4
4
5
EAPI=3
5
EAPI=3
6
inherit libtool
6
inherit eutils libtool multilib
7
7
8
DESCRIPTION="Portable Network Graphics library"
8
DESCRIPTION="Portable Network Graphics library"
9
HOMEPAGE="http://www.libpng.org/"
9
HOMEPAGE="http://www.libpng.org/"
Lines 26-43 Link Here
26
src_install() {
26
src_install() {
27
	emake DESTDIR="${D}" install || die
27
	emake DESTDIR="${D}" install || die
28
	dodoc ANNOUNCE CHANGES README TODO || die
28
	dodoc ANNOUNCE CHANGES README TODO || die
29
	dosbin "${FILESDIR}"/libpng-1.4.x-update.sh || die
29
	dosbin "${FILESDIR}"/libpng-1.4.x-update.sh
30
}
31
32
pkg_preinst() {
33
	preserve_old_lib /usr/$(get_libdir)/libpng12.so.0
30
}
34
}
31
35
32
pkg_postinst() {
36
pkg_postinst() {
33
	echo
37
	echo
34
	ewarn "Moving from libpng 1.2.x to 1.4.x will break installed libtool .la"
38
	elog "Run /usr/sbin/libpng-1.4.x-update.sh to fix broken .la files."
35
	ewarn "files."
36
	echo
37
	elog "Run /usr/sbin/libpng-1.4.x-update.sh at your own risk only if"
38
	elog "revdep-rebuild fails."
39
	echo
40
	elog "Don't forget \"man emerge\" and useful parameters like --skip-first,"
41
	elog "--resume and --keep-going."
42
	echo
39
	echo
40
	preserve_old_lib_notify /usr/$(get_libdir)/libpng12.so.0
43
}
41
}

Return to bug 323649