wok-current rev 20288
elilo: force ia32
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Apr 10 12:43:43 2018 +0200 (2018-04-10) |
parents | 786a896d2360 |
children | fdcd42043927 |
files | elilo/receipt |
line diff
1.1 --- a/elilo/receipt Mon Apr 02 12:15:19 2018 +0200 1.2 +++ b/elilo/receipt Tue Apr 10 12:43:43 2018 +0200 1.3 @@ -16,15 +16,19 @@ 1.4 # Rules to configure and make the package. 1.5 compile_rules() 1.6 { 1.7 - cd $src 1.8 - make -j1 1.9 + mkdir -p $install/usr/share $install/usr/lib $install/usr/sbin 1.10 + cp -a docs $install/usr/share/doc 1.11 + cp README* $install/usr/share/doc 1.12 + make -j1 && mv elilo.efi elilo.efi.x86_64 1.13 + make clean 1.14 + sed -i 's|uname -m|echo i686|' Make.defaults 1.15 + make -j1 && 1.16 + cp elilo.efi $install/usr/lib/elilo && 1.17 + cp eliloalt $install/usr/sbin 1.18 } 1.19 1.20 # Rules to gen a SliTaz package suitable for Tazpkg. 1.21 genpkg_rules() 1.22 { 1.23 - mkdir -p $fs/usr/lib/elilo $fs/usr/sbin 1.24 - cp -a $src/elilo.efi $fs/usr/lib/elilo 1.25 - cp -a $src/tools/eliloalt $fs/usr/sbin 1.26 + cp -a $install/usr $fs 1.27 } 1.28 -