wok-current view elilo/receipt @ rev 25019
updated openjpeg2 and openjpeg2-dev (2.3.1 -> 2.5.0)
author | Hans-G?nter Theisgen |
---|---|
date | Wed May 18 07:22:38 2022 +0100 (2022-05-18) |
parents | 9b3543315b4e |
children | 002a704d9c02 |
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 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - https://sourceforge.net/projects/elilo/files/elilo/ 2>/dev/null | \
22 sed '/scope="row/!d;s|.*/elilo-||;s|/.*||;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 mkdir -p $install/boot/efi/boot
29 mkdir -p $install/usr/sbin
30 mkdir -p $install/usr/share
32 tar -xz -f $PACKAGE-$VERSION-source.tar.gz &&
33 cd $PACKAGE-$VERSION-source &&
34 cp -a docs $install/usr/share/doc
35 cp README* $install/usr/share/doc
36 # rm -rf $install/usr/share/doc/CVS
37 grep -rl 'StrnCpy(' * | xargs sed -i 's|StrnCpy(|StrnCpyElilo(|'
38 sed -i 's|dpkg-architecture.*)|echo ia32)|' \
39 Make.defaults
40 make ARCH=ia32 -j 1 &&
41 cp elilo.efi $install/boot/efi/boot/elilo &&
42 cp tools/eliloalt $install/usr/sbin
43 }
45 # Rules to gen a SliTaz package suitable for Tazpkg.
46 genpkg_rules()
47 {
48 mkdir -p $fs/usr/sbin
50 cp -a $install/boot $fs
51 cp -a $install/usr/sbin $fs/usr
52 }