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

(-)/usr/portage/sci-electronics/ngspice/ngspice-31.ebuild (-7 / +7 lines)
Lines 133-140 Link Here
133
133
134
	# merge the installations of all variants
134
	# merge the installations of all variants
135
	for v in "${MULTIBUILD_VARIANTS[@]}" ; do
135
	for v in "${MULTIBUILD_VARIANTS[@]}" ; do
136
		cp -a "${D}_${v}"/* "${D}" || die "Failed to combine multibuild installations"
136
		cp -a "${D}/${v}"/* "${D}" || die "Failed to combine multibuild installations"
137
		rm -rf "${D}_${v}"
137
		rm -rf "${D}/${v}"
138
	done
138
	done
139
139
140
	use tcl && DOCS+=( README.tcl )
140
	use tcl && DOCS+=( README.tcl )
Lines 154-168 Link Here
154
ngspice_install() {
154
ngspice_install() {
155
	pushd "${BUILD_DIR}"
155
	pushd "${BUILD_DIR}"
156
156
157
	emake DESTDIR="${D}_${MULTIBUILD_VARIANT}" install
157
	emake DESTDIR="${D}/${MULTIBUILD_VARIANT}" install
158
158
159
	# Strip shared-library and Tcl-module builds to the bare minimum;
159
	# Strip shared-library and Tcl-module builds to the bare minimum;
160
	# all the support files will have been handled by the 'binaries' build.
160
	# all the support files will have been handled by the 'binaries' build.
161
	if [ "${MULTIBUILD_VARIANT}" != "binaries" ]; then
161
	if [ "${MULTIBUILD_VARIANT}" != "binaries" ]; then
162
		rm -rf "${D}_${MULTIBUILD_VARIANT}"/usr/bin{,.debug}
162
		rm -rf "${D}/${MULTIBUILD_VARIANT}"/usr/bin{,.debug}
163
		rm -rf "${D}_${MULTIBUILD_VARIANT}"/usr/share
163
		rm -rf "${D}/${MULTIBUILD_VARIANT}"/usr/share
164
		rm -rf "${D}_${MULTIBUILD_VARIANT}"/usr/$(get_libdir)/*.la
164
		rm -rf "${D}/${MULTIBUILD_VARIANT}"/usr/$(get_libdir)/*.la
165
		rm -rf "${D}_${MULTIBUILD_VARIANT}"/usr/$(get_libdir)/ngspice/*.cm{,.debug}
165
		rm -rf "${D}/${MULTIBUILD_VARIANT}"/usr/$(get_libdir)/ngspice/*.cm{,.debug}
166
	fi
166
	fi
167
}
167
}
168
168

Return to bug 699280