wok view syslinux-modules/receipt @ rev 17057

syslinux/c32box: x86_64 auto select
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Aug 21 09:56:57 2014 +0200 (2014-08-21)
parents b3bed44ce76b
children 087d71ec38ce
line source
1 # SliTaz package receipt.
3 PACKAGE="syslinux-modules"
4 VERSION="4.06"
5 CATEGORY="system-tools"
6 SHORT_DESC="modules for syslinux"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 WANTED="syslinux"
10 WEB_SITE="http://syslinux.zytor.com/"
11 BUILD_DEPENDS="lzma"
13 # Rules to gen a SliTaz package suitable for Tazpkg.
14 genpkg_rules()
15 {
16 mkdir -p $fs/usr/share/boot
17 for i in $src/com32/*/*.c32 ; do
18 case "$i" in
19 */reboot.c32|*/ifmem.c32|*/vesamenu.c32) continue;;
20 esac
21 lzma e $i $fs/usr/share/boot/$(basename $i).lzma 2> /dev/null
22 done
23 for i in $src/modules/*.com ; do
24 case "$i" in
25 */poweroff.com) continue;;
26 esac
27 cp $i $fs/usr/share/boot/$(basename $i) 2> /dev/null
28 done
29 }