wok view elilo/receipt @ rev 24170
updated otf-gfs
author | Hans-G?nter Theisgen |
---|---|
date | Wed Dec 29 07:55:54 2021 +0100 (2021-12-29) |
parents | 9f0372ee6bbd |
children | 640a2eba2511 |
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 grep -rl 'StrnCpy(' * | xargs sed -i 's|StrnCpy(|StrnCpyElilo(|'
31 sed -i 's|dpkg-architecture.*)|echo ia32)|' \
32 Make.defaults
33 make ARCH=ia32 -j 1 &&
34 cp elilo.efi $install/boot/efi/boot/elilo &&
35 cp tools/eliloalt $install/usr/sbin
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 mkdir -p $fs/usr/sbin
43 cp -a $install/boot $fs
44 cp -a $install/usr/sbin $fs/usr
45 }