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

(-)elfkickers-2.0a-r4.ebuild.orig (-5 / +7 lines)
Lines 1-4 Link Here
1
# Copyright 1999-2009 Gentoo Foundation
1
# Copyright 1999-2010 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/dev-util/elfkickers/elfkickers-2.0a-r4.ebuild,v 1.9 2009/03/04 17:08:31 drizzt Exp $
3
# $Header: /var/cvsroot/gentoo-x86/dev-util/elfkickers/elfkickers-2.0a-r4.ebuild,v 1.9 2009/03/04 17:08:31 drizzt Exp $
4
4
Lines 42-54 Link Here
42
42
43
src_install() {
43
src_install() {
44
	for d in elfls elftoc rebind sstrip ; do
44
	for d in elfls elftoc rebind sstrip ; do
45
		newdoc ${d}/README README.${d}
45
		newdoc ${d}/README README.${d} || die
46
		dobin ${d}/${d}{32,64} || die "dobin ${d}{32,64} failed"
46
		dobin ${d}/${d}{32,64} || die
47
		doman $d/*.1
47
		for i in ${d}/*.1; do
48
		  [ -e ${i} ] && doman ${i}
49
		done
48
		case $(get_libdir) in
50
		case $(get_libdir) in
49
			lib64) dosym /usr/bin/${d}64 /usr/bin/${d};;
51
			lib64) dosym /usr/bin/${d}64 /usr/bin/${d};;
50
			lib|lib32) dosym /usr/bin/${d}32 /usr/bin/${d};;
52
			lib|lib32) dosym /usr/bin/${d}32 /usr/bin/${d};;
51
		esac
53
		esac
52
	done
54
	done
53
	dodoc Changelog README
55
	dodoc Changelog README || die
54
}
56
}

Return to bug 305549