wok-next view syslinux-slitaz-repack/receipt @ rev 20709
cdrdao: add patch.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat May 26 17:09:29 2018 +0300 (2018-05-26) |
parents | 8c198c0388a5 |
children | cd7906120828 |
line source
1 # SliTaz package receipt.
3 PACKAGE="syslinux-slitaz-repack"
4 VERSION="4.06"
5 CATEGORY="base-system"
6 SHORT_DESC="LiveCD ISO bootloader: SliTaz fork, repacked from SliTaz-5"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL2"
9 WEB_SITE="http://hg.slitaz.org/wok/file/tip/syslinux"
11 TARBALL="syslinux-slitaz-4.06.cpio"
12 WGET_URL="http://mirror1.slitaz.org/packages/5.0/syslinux-4.06.tazpkg"
14 # Rules to gen a SliTaz package suitable for Tazpkg.
15 compile_rules()
16 {
17 cpio -dmF $src/$TARBALL -i
18 lzma d $src/fs.cpio.lzma -so | cpio -idm
19 mkdir $install
20 cp -r $src/fs/* $install
21 sed -i 's|5\.0-RC4|Next|; s|\.jpg|\.png|; s|autologin|font=ter-v14n &|' \
22 $install/boot/isolinux/isolinux.cfg
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 copy @std
29 CONFIG_FILES="/boot/isolinux/i18n.cfg /boot/isolinux/isolinux.cfg \
30 /boot/isolinux/kbd"
31 TAGS="boot"
32 DEPENDS="ipxe memtest"
33 PROVIDE="syslinux"
34 }
36 # Pre and post install commands for Tazpkg.
37 post_install() {
38 sed -i "/MENU TITLE SliTaz GNU\/Linux/ s| [0-9X]*$| $(date +%Y%m%d)|" \
39 "$1/boot/isolinux/isolinux.cfg"
40 sed '/MENU TITLE/!d;s/MENU TITLE //' > $1/etc/slitaz-version \
41 < "$1/boot/isolinux/isolinux.cfg"
42 }