wok-current view lilo/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 (2 months ago)
parents e6c086aad08f
children
line source
1 # SliTaz package receipt.
3 PACKAGE="lilo"
4 VERSION="24.2"
5 CATEGORY="system-tools"
6 SHORT_DESC="LInux boot LOader."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="BSD"
9 WEB_SITE="https://www.joonet.de/lilo/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="${WEB_SITE}ftp/sources/$TARBALL"
14 BUILD_DEPENDS="dev86 libdevmapper"
15 DEPENDS="libdevmapper"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - ${WGET_URL%/*} 2>/dev/null | \
21 sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 # Patches from slackware for mem > 4G and nvme
28 patch -p1 < $stuff/lilo.ignore.usable.memory.above.4G.diff
29 patch -p1 < $stuff/lilo.nvme.support.diff
30 make alles &&
31 make install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/share/examples/lilo
38 cp -a $install/sbin $fs
39 cp $stuff/lilo.conf $fs/usr/share/examples/lilo
40 }
42 post_install()
43 {
44 cat <<EOT
46 # Copy example configuration file to /etc:
47 cp /usr/share/examples/lilo/lilo.conf /etc/lilo.conf
49 # To modify default configuration, edit
50 /etc/lilo.conf
52 # To install lilo to MBR on device sda enter:
53 lilo
54 EOT
55 }