void-packages/srcpkgs/gcc-multilib/gcc-c++-multilib.template

21 lines
642 B
Plaintext

# Template file for 'gcc-c++-multilib'.
#
short_desc="GCC C++ compiler (multilib files)"
long_desc="
This is the GNU C++ compiler, a fairly portable optimizing compiler for C++.
On architectures with multilib support, the package contains files and
dependencies for the non-default multilib architecture(s)."
Add_dependency run gcc-c++ ">=${version}"
Add_dependency run gcc-multilib ">=${version}"
Add_dependency run libstdc++32-devel ">=${version}"
do_install()
{
local libmddir="usr/lib/gcc/x86_64-unknown-linux-gnu/${_majorver}"
vmove ${libmddir}/32/libstdc++.a ${libmddir}/32
vmove ${libmddir}/32/libsupc++.a ${libmddir}/32
}