void-packages/srcpkgs/gcc-multilib/gcc-objc-multilib.template

22 lines
671 B
Text
Raw Normal View History

# Template file for 'gcc-objc-multilib'.
#
short_desc="The GNU Objective-C compiler (multilib files)"
long_desc="
This is the GNU Objective-C compiler, which compiles Objective-C on
platforms supported by the GCC compiler.
On architectures with multilib support, the package contains files and
dependencies for the non-default multilib architecture(s)."
Add_dependency run gcc ">=${version}"
Add_dependency run gcc-multilib ">=${version}"
Add_dependency run gcc-objc ">=${version}"
Add_dependency run libobjc32 ">=${version}"
do_install()
{
local libmddir="/usr/lib/gcc/x86_64-unknown-linux-gnu/${_majorver}"
vmove "${libmddir}/32/libobjc*.a" ${libmddir}/32
}