wok-next annotate syslinux-slitaz-repack/receipt @ rev 21722

efivar: typo in post_install
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Sep 01 10:31:46 2020 +0000 (2020-09-01)
parents e19ff076dc63
children
rev   line source
al@19843 1 # SliTaz package receipt.
al@19843 2
al@19843 3 PACKAGE="syslinux-slitaz-repack"
al@21096 4 # check the timestamps on the cooker page http://cook.slitaz.org/index.cgi?pkg=syslinux
al@21096 5 VERSION="181231-1226" # YYmmdd-HHMM
al@19843 6 CATEGORY="base-system"
al@19843 7 SHORT_DESC="LiveCD ISO bootloader: SliTaz fork, repacked from SliTaz-5"
al@19843 8 MAINTAINER="al.bobylev@gmail.com"
al@19843 9 LICENSE="GPL2"
al@21096 10 WEB_SITE="http://cook.slitaz.org/index.cgi?pkg=syslinux"
al@21096 11 HOST_ARCH="any"
al@20888 12 REPOLOGY="-"
al@19843 13
al@21096 14 TARBALL="syslinux-slitaz-$VERSION.cpio" # allow changes for source tarball
al@21096 15 WGET_URL="http://cook.slitaz.org/index.cgi?download=syslinux-4.06.tazpkg" # this URL is always the same
al@19843 16
al@21096 17 CONFIG_FILES="/boot/isolinux/i18n.cfg /boot/isolinux/isolinux.cfg \
al@21096 18 /boot/isolinux/kbd"
al@21096 19 TAGS="boot"
al@21096 20 DEPENDS="ipxe memtest"
al@21096 21 PROVIDE="syslinux"
al@21094 22
al@21020 23 compile_rules() {
al@21096 24 cpio -dmF $TARBALL -i
al@21096 25 lzma -d fs.cpio.lzma -c | cpio -idm
al@19843 26 mkdir $install
al@21096 27 cp -r fs/* $install
al@19856 28 sed -i 's|5\.0-RC4|Next|; s|\.jpg|\.png|; s|autologin|font=ter-v14n &|' \
al@19856 29 $install/boot/isolinux/isolinux.cfg
al@19843 30 }
al@19843 31
al@19843 32 post_install() {
al@19843 33 sed -i "/MENU TITLE SliTaz GNU\/Linux/ s| [0-9X]*$| $(date +%Y%m%d)|" \
al@19843 34 "$1/boot/isolinux/isolinux.cfg"
al@21096 35 sed '/MENU TITLE/!d; s|MENU TITLE ||' > $1/etc/slitaz-version \
al@19843 36 < "$1/boot/isolinux/isolinux.cfg"
al@19843 37 }