wok-next view syslinux-slitaz-repack/receipt @ rev 19849
Fix packaging: lcms, libtool; up slitaz-tools-*; add mathomatic.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Aug 28 19:54:13 2017 +0300 (2017-08-28) |
parents | |
children | 0a9729329e28 |
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|6.0|' $install/boot/isolinux/isolinux.cfg
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 copy @std
28 CONFIG_FILES="/boot/isolinux/i18n.cfg /boot/isolinux/isolinux.cfg \
29 /boot/isolinux/kbd"
30 TAGS="boot"
31 DEPENDS="ipxe memtest"
32 PROVIDE="syslinux"
33 }
35 # Pre and post install commands for Tazpkg.
36 post_install() {
37 sed -i "/MENU TITLE SliTaz GNU\/Linux/ s| [0-9X]*$| $(date +%Y%m%d)|" \
38 "$1/boot/isolinux/isolinux.cfg"
39 sed '/MENU TITLE/!d;s/MENU TITLE //' > $1/etc/slitaz-version \
40 < "$1/boot/isolinux/isolinux.cfg"
41 }