wok-current view syslinux-extra/receipt @ rev 5802

Speedup some builds
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jul 11 17:47:11 2010 +0200 (2010-07-11)
parents d5f670b08670
children 480ee8596aea
line source
1 # SliTaz package receipt.
3 PACKAGE="syslinux-extra"
4 VERSION="3.82"
5 CATEGORY="system-tools"
6 SHORT_DESC="MBR/FAT/EXT3/PXE bootloader files"
7 MAINTAINER="pankso@slitaz.org"
8 WANTED="syslinux"
9 WEB_SITE="http://syslinux.zytor.com/"
10 BUILD_DEPENDS="lzma"
12 # Rules to gen a SliTaz package suitable for Tazpkg.
13 genpkg_rules()
14 {
15 mkdir -p $fs/usr/share/boot $fs/usr/bin $fs/bin
16 lzma e $src/memdisk/memdisk $fs/usr/share/boot/memdisk.lzma 2> /dev/null
17 cp -a $src/mbr/mbr.bin $fs/usr/share/boot
18 lzma e $src/core/pxelinux.0 $fs/usr/share/boot/pxelinux.0.lzma 2> /dev/null
19 #lzma e $src/com32/menu/vesamenu.c32 $fs/usr/share/boot/vesamenu.c32.lzma
20 #lzma e $src/com32/modules/mboot.c32 $fs/usr/share/boot/mboot.c32.lzma
21 cp $src/com32/modules/sdi.c32 $fs/usr/share/boot/
22 cp -a $src/linux/syslinux-nomtools $fs/bin/syslinux
23 cp -a $src/extlinux/extlinux $fs/bin
24 cp -a $src/isohybrid.sh $fs/usr/bin/isohybrid
25 chown root.root $fs/usr/share/boot/* $fs/bin/*
26 }