wok-current view syslinux-modules/receipt @ rev 12676
mpd: fix compile_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue May 01 13:46:30 2012 +0200 (2012-05-01) |
parents | ed7d51c1b0dc |
children | b3bed44ce76b |
line source
1 # SliTaz package receipt.
3 PACKAGE="syslinux-modules"
4 VERSION="4.05"
5 CATEGORY="system-tools"
6 SHORT_DESC="modules for syslinux"
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
16 for i in $src/com32/*/*.c32 ; do
17 case "$i" in
18 */reboot.c32|*/ifmem.c32|*/vesamenu.c32) continue;;
19 esac
20 lzma e $i $fs/usr/share/boot/$(basename $i).lzma 2> /dev/null
21 done
22 for i in $src/modules/*.com ; do
23 case "$i" in
24 */poweroff.com) continue;;
25 esac
26 cp $i $fs/usr/share/boot/$(basename $i) 2> /dev/null
27 done
28 }