wok view elilo/receipt @ rev 23008
consonance: added build dependency gcc83
author | Hans-G?nter Theisgen |
---|---|
date | Tue Mar 03 07:08:14 2020 +0100 (2020-03-03) |
parents | 9783ee6fb053 |
children | 9b3543315b4e |
line source
1 # SliTaz package receipt.
3 PACKAGE="elilo"
4 VERSION="3.16"
5 CATEGORY="system-tools"
6 SHORT_DESC="The EFI linux boot loader."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://sourceforge.net/projects/elilo/"
11 TARBALL="$PACKAGE-$VERSION-all.tar.gz"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 BUILD_DEPENDS="gnu-efi"
15 # See http://mactel-linux.sourceforge.net/wiki/Main_Page
16 # genisoimage -boot-hfs-file
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 mkdir -p $install/boot/efi/boot
22 mkdir -p $install/usr/sbin
23 mkdir -p $install/usr/share
25 tar -xz -f $PACKAGE-$VERSION-source.tar.gz &&
26 cd $PACKAGE-$VERSION-source &&
27 cp -a docs $install/usr/share/doc
28 cp README* $install/usr/share/doc
29 # rm -rf $install/usr/share/doc/CVS
30 sed -i 's|dpkg-architecture.*)|echo ia32)|' \
31 Make.defaults
32 make ARCH=ia32 -j 1 &&
33 cp elilo.efi $install/boot/efi/boot/elilo &&
34 cp tools/eliloalt $install/usr/sbin
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr/sbin
42 cp -a $install/boot $fs
43 cp -a $install/usr/sbin $fs/usr
44 }