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

(-)smrsh-8.12.10.ebuild.orig (-5 / +7 lines)
Lines 1-4 Link Here
1
# Copyright 1999-2009 Gentoo Foundation
1
# Copyright 1999-2011 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/app-shells/smrsh/smrsh-8.12.10.ebuild,v 1.8 2009/12/03 11:41:55 maekke Exp $
3
# $Header: /var/cvsroot/gentoo-x86/app-shells/smrsh/smrsh-8.12.10.ebuild,v 1.8 2009/12/03 11:41:55 maekke Exp $
4
4
Lines 28-47 Link Here
28
	sed -e "s:@@confCCOPTS@@:${CFLAGS}:" "${FILESDIR}/site.config.m4" \
28
	sed -e "s:@@confCCOPTS@@:${CFLAGS}:" "${FILESDIR}/site.config.m4" \
29
		> "${S}/devtools/Site/site.config.m4" || die "sed failed"
29
		> "${S}/devtools/Site/site.config.m4" || die "sed failed"
30
30
31
	# 251872 pre-stripped files
32
	sed -i -e "s/define(\`confLDOPTS', \`-s')//" "${S}/devtools/Site/site.config.m4" || die "sed failed"
33
31
	/bin/sh Build
34
	/bin/sh Build
32
}
35
}
33
36
34
src_install() {
37
src_install() {
35
	cd "${S}/${PN}"
38
	cd "${S}/${PN}"
36
	dosbin "${S}/obj.$(uname -s).$(uname -r).$(arch)/${PN}/${PN}"
39
	dosbin "${S}/obj.$(uname -s).$(uname -r).$(arch)/${PN}/${PN}" || die
37
40
38
	doman smrsh.8
41
	doman smrsh.8 || die
39
	dodoc README
42
	dodoc README || die
40
43
41
	keepdir /var/lib/smrsh
44
	keepdir /var/lib/smrsh
42
}
45
}
43
46
44
pkg_postinst() {
47
pkg_postinst() {
45
	elog "smrsh is compiled to look for programs in /var/lib/smrsh."
48
	elog "smrsh is compiled to look for programs in /var/lib/smrsh."
46
	echo
47
}
49
}

Return to bug 251872