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