Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 248749 | Differences between
and this patch

Collapse All | Expand All

(-)/usr/portage/sci-misc/boinc/boinc-6.2.15.ebuild (-4 / +9 lines)
Lines 102-117 Link Here
102
		sed -i \
102
		sed -i \
103
			-e "s:LDFLAGS = :LDFLAGS = -L../lib :g" \
103
			-e "s:LDFLAGS = :LDFLAGS = -L../lib :g" \
104
			*/Makefile || die "sed failed"
104
			*/Makefile || die "sed failed"
105
		emake || die "emake failed"
105
		emake -j1 || die "emake failed"
106
	fi
106
	fi
107
}
107
}
108
108
109
src_install() {
109
src_install() {
110
	mkdir -p "${D}"/var/lib/${PN}/
110
	dodir /var/lib/${PN}
111
	newinitd "${FILESDIR}"/${PN}.init ${PN}
111
	newinitd "${FILESDIR}"/${PN}.init ${PN}
112
	newconfd "${FILESDIR}"/${PN}.conf ${PN}
112
	newconfd "${FILESDIR}"/${PN}.conf ${PN}
113
	if ! use bindist; then
113
	if ! use bindist; then
114
		cp "${S}"/ca-bundle.crt "${D}"/var/lib/${PN}
114
		cp "${S}"/curl/ca-bundle.crt "${D}"/var/lib/${PN}
115
		make install DESTDIR="${D}" || die "make install failed"
115
		make install DESTDIR="${D}" || die "make install failed"
116
		# icon
116
		# icon
117
		newicon "${S}"/sea/${PN}mgr.48x48.png ${PN}.png
117
		newicon "${S}"/sea/${PN}mgr.48x48.png ${PN}.png
Lines 172-179 Link Here
172
		dosym /opt/${PN}/locale /var/lib/${PN}/locale
172
		dosym /opt/${PN}/locale /var/lib/${PN}/locale
173
		cd "${S}"
173
		cd "${S}"
174
	fi
174
	fi
175
176
	insopts -m0640
177
	insinto /var/lib/${PN}
178
	doins "${FILESDIR}"/gui_rpc_auth.cfg
179
	fowners ${PN}:${PN} /var/lib/${PN}/gui_rpc_auth.cfg
175
	fowners ${PN}:${PN} /var/lib/${PN}/ca-bundle.crt
180
	fowners ${PN}:${PN} /var/lib/${PN}/ca-bundle.crt
176
	chown ${PN}:${PN} "${D}"/var/lib/${PN}
181
	fowners ${PN}:${PN} /var/lib/${PN}/
177
}
182
}
178
183
179
pkg_preinst() {
184
pkg_preinst() {

Return to bug 248749