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
1 changed files with 7 additions and 5 deletions

View File

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