wok-6.x annotate elilo/receipt @ rev 20291

elilo: mkdir $install/usr/share (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Apr 16 11:16:22 2018 +0200 (2018-04-16)
parents a8c772fc1eb1
children 10cdf08515bb
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@20291 19 mkdir -p $install/boot/efi/boot $install/usr/sbin $install/usr/share
pascal@20288 20 cp -a docs $install/usr/share/doc
pascal@20288 21 cp README* $install/usr/share/doc
pascal@20290 22 rm -rf $install/usr/share/doc/CVS
pascal@20288 23 sed -i 's|uname -m|echo i686|' Make.defaults
pascal@20288 24 make -j1 &&
pascal@20290 25 cp elilo.efi $install/boot/efi/boot/elilo &&
pascal@20289 26 cp tools/eliloalt $install/usr/sbin
pascal@4338 27 }
pascal@4338 28
pascal@4338 29 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@4338 30 genpkg_rules()
pascal@4338 31 {
pascal@20290 32 cp -a $install/usr/sbin $fs/usr
pascal@20290 33 cp -a $install/boot $fs
pascal@4338 34 }