wok-current view syslinux-modules/receipt @ rev 10871
gpodder: Fixed genpkg_rules. Saved 150kb off the package size.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sun Jun 19 11:45:40 2011 +0000 (2011-06-19) |
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 }