wok annotate elilo/receipt @ rev 20289

elilo: force ia32 (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Apr 10 13:11:07 2018 +0200 (2018-04-10)
parents ad2378eb7dba
children a8c772fc1eb1
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 sed -i 's|uname -m|echo i686|' Make.defaults
pascal@20288 23 make -j1 &&
pascal@20288 24 cp elilo.efi $install/usr/lib/elilo &&
pascal@20289 25 cp tools/eliloalt $install/usr/sbin
pascal@4338 26 }
pascal@4338 27
pascal@4338 28 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@4338 29 genpkg_rules()
pascal@4338 30 {
pascal@20288 31 cp -a $install/usr $fs
pascal@4338 32 }