View | Details | Raw Unified
Collapse All | Expand All

(-) /mnt/platz/portage/sys-cluster/lam-mpi/lam-mpi-7.1.1.ebuild (-1 / +10 lines)
 Lines 27-33    Link Here 
src_unpack() {
src_unpack() {
	unpack ${A}
	unpack ${A}
	epatch ${FILESDIR}/${P}-shared-romio.patch
	#see Bug 95994
	#epatch ${FILESDIR}/${P}-shared-romio.patch
	cd ${S}/romio/util/
	cd ${S}/romio/util/
	sed -i "s|docdir=\"\$datadir/lam/doc\"|docdir=\"${D}/usr/share/doc/${PF}\"|" romioinstall.in
	sed -i "s|docdir=\"\$datadir/lam/doc\"|docdir=\"${D}/usr/share/doc/${PF}\"|" romioinstall.in
}
}
 Lines 59-65    Link Here 
	# There are a bunch more tex docs we could make and install too,
	# There are a bunch more tex docs we could make and install too,
	# but they might be replicated in the pdf.
	# but they might be replicated in the pdf.
	# They are replicated in the pdfs! Thus remove this comment?
	dodoc README HISTORY LICENSE VERSION
	dodoc README HISTORY LICENSE VERSION
	cd ${S}/doc
	cd ${S}/doc
	dodoc {user,install}.pdf
	dodoc {user,install}.pdf
	# install examples
	cd ${S}/examples
	mkdir -p ${D}/usr/share/${P}/examples
	find -name README -or -iregex '.*\.[chf][c]?$' \
	  | (while read p; do cp --parents $p ${D}/usr/share/${P}/examples; done;)
	
}
}