wok-current annotate elilo/receipt @ rev 25694
Fix cifs-utils, up grub2-efi-x64 stuff for iso EFI
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Sat Mar 30 18:05:22 2024 +0000 (7 months ago) |
parents | 002a704d9c02 |
children |
rev | line source |
---|---|
pascal@4338 | 1 # SliTaz package receipt. |
pascal@4338 | 2 |
pascal@4338 | 3 PACKAGE="elilo" |
Hans-G?nter@22679 | 4 VERSION="3.16" |
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@25510 | 9 WEB_SITE="https://sourceforge.net/projects/elilo/" |
Hans-G?nter@22679 | 10 |
Hans-G?nter@22679 | 11 TARBALL="$PACKAGE-$VERSION-all.tar.gz" |
pascal@4338 | 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
Hans-G?nter@22679 | 13 |
pascal@4338 | 14 BUILD_DEPENDS="gnu-efi" |
pascal@4338 | 15 # See http://mactel-linux.sourceforge.net/wiki/Main_Page |
pascal@4338 | 16 # genisoimage -boot-hfs-file |
pascal@4338 | 17 |
pascal@24385 | 18 # What is the latest version available today? |
pascal@24385 | 19 current_version() |
pascal@24385 | 20 { |
pascal@24385 | 21 wget -O - https://sourceforge.net/projects/elilo/files/elilo/ 2>/dev/null | \ |
pascal@24385 | 22 sed '/scope="row/!d;s|.*/elilo-||;s|/.*||;q' |
pascal@24385 | 23 } |
pascal@24385 | 24 |
pascal@4338 | 25 # Rules to configure and make the package. |
pascal@4338 | 26 compile_rules() |
pascal@4338 | 27 { |
Hans-G?nter@22679 | 28 mkdir -p $install/boot/efi/boot |
Hans-G?nter@22679 | 29 mkdir -p $install/usr/sbin |
Hans-G?nter@22679 | 30 mkdir -p $install/usr/share |
Hans-G?nter@22679 | 31 |
Hans-G?nter@22679 | 32 tar -xz -f $PACKAGE-$VERSION-source.tar.gz && |
Hans-G?nter@22679 | 33 cd $PACKAGE-$VERSION-source && |
Hans-G?nter@22679 | 34 cp -a docs $install/usr/share/doc |
Hans-G?nter@22679 | 35 cp README* $install/usr/share/doc |
Hans-G?nter@22679 | 36 # rm -rf $install/usr/share/doc/CVS |
pascal@23629 | 37 grep -rl 'StrnCpy(' * | xargs sed -i 's|StrnCpy(|StrnCpyElilo(|' |
pascal@22682 | 38 sed -i 's|dpkg-architecture.*)|echo ia32)|' \ |
Hans-G?nter@22679 | 39 Make.defaults |
pascal@22681 | 40 make ARCH=ia32 -j 1 && |
Hans-G?nter@22679 | 41 cp elilo.efi $install/boot/efi/boot/elilo && |
Hans-G?nter@22679 | 42 cp tools/eliloalt $install/usr/sbin |
pascal@4338 | 43 } |
pascal@4338 | 44 |
pascal@4338 | 45 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@4338 | 46 genpkg_rules() |
pascal@4338 | 47 { |
Hans-G?nter@22679 | 48 mkdir -p $fs/usr/sbin |
Hans-G?nter@22679 | 49 |
Hans-G?nter@22679 | 50 cp -a $install/boot $fs |
Hans-G?nter@22679 | 51 cp -a $install/usr/sbin $fs/usr |
pascal@4338 | 52 } |