wok-next view syslinux-slitaz-repack/receipt @ rev 21727

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