wok-current annotate elilo/receipt @ 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 | fcdd50638150 |
children | fdcd42043927 |
rev | line source |
---|---|
pascal@4338 | 1 # SliTaz package receipt. |
pascal@4338 | 2 |
pascal@4338 | 3 PACKAGE="elilo" |
pascal@4338 | 4 VERSION="3.10" |
pascal@4338 | 5 CATEGORY="system-tools" |
pascal@4338 | 6 SHORT_DESC="The EFI linux boot loader." |
pascal@4338 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15588 | 8 LICENSE="GPL2" |
pascal@4338 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@4338 | 10 WEB_SITE="http://elilo.sourceforge.net/" |
pascal@4338 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@4338 | 12 BUILD_DEPENDS="gnu-efi" |
pascal@4338 | 13 # See http://mactel-linux.sourceforge.net/wiki/Main_Page |
pascal@4338 | 14 # genisoimage -boot-hfs-file |
pascal@4338 | 15 |
pascal@4338 | 16 # Rules to configure and make the package. |
pascal@4338 | 17 compile_rules() |
pascal@4338 | 18 { |
pascal@20288 | 19 mkdir -p $install/usr/share $install/usr/lib $install/usr/sbin |
pascal@20288 | 20 cp -a docs $install/usr/share/doc |
pascal@20288 | 21 cp README* $install/usr/share/doc |
pascal@20288 | 22 make -j1 && mv elilo.efi elilo.efi.x86_64 |
pascal@20288 | 23 make clean |
pascal@20288 | 24 sed -i 's|uname -m|echo i686|' Make.defaults |
pascal@20288 | 25 make -j1 && |
pascal@20288 | 26 cp elilo.efi $install/usr/lib/elilo && |
pascal@20288 | 27 cp eliloalt $install/usr/sbin |
pascal@4338 | 28 } |
pascal@4338 | 29 |
pascal@4338 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@4338 | 31 genpkg_rules() |
pascal@4338 | 32 { |
pascal@20288 | 33 cp -a $install/usr $fs |
pascal@4338 | 34 } |