wok-next view syslinux-modules/receipt @ rev 9872
Up: slitaz-boot-scripts (4.3)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon May 16 23:21:18 2011 +0200 (2011-05-16) |
parents | 7498c29561bc |
children | ed7d51c1b0dc |
line source
1 # SliTaz package receipt.
3 PACKAGE="syslinux-modules"
4 VERSION="4.04"
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 }