memtest86+: needs gcc-multilib on x86_64.

This commit is contained in:
Juan RP 2011-07-11 21:59:45 +02:00
parent 9e2e12c8f8
commit b980e46938

View file

@ -19,15 +19,17 @@ long_desc="
nostrip=yes
noverifyrdeps=yes
if [ "${xbps_machine}" = "x86_64" ]; then
Add_dependency build gcc-multilib
fi
do_build()
{
cd ${wrksrc} && make || return 1
make ${makejobs}
}
do_install()
{
install -D -m755 ${wrksrc}/memtest.bin \
${DESTDIR}/boot/memtest86+.bin || return 1
install -D -m755 ${FILESDIR}/20_memtest86+ \
${DESTDIR}/etc/grub.d/20_memtest86+ || return 1
vinstall memtest.bin 755 boot memtest86+
vinstall ${FILESDIR}/20_memtest86+ 755 etc/grub.d
}