wok view syslinux-modules/receipt @ rev 5012

rm rpm in for loop to save RAM (thanks Eric)
author Rohit Joshi <jozee@slitaz.org>
date Sun Feb 28 19:50:05 2010 +0000 (2010-02-28)
parents 76990ad741d7
children 480ee8596aea
line source
1 # SliTaz package receipt.
3 PACKAGE="syslinux-modules"
4 VERSION="3.82"
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) 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 }