wok-6.x view syslinux-modules/receipt @ rev 5128
Up: tazusb(2.3) + Improve recipe
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Sun Mar 21 23:09:04 2010 +0100 (2010-03-21) |
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 }