wok-next annotate syslinux-modules/receipt @ rev 5646
Fix: mercurial add CONFIG_FILES for smarter upgrade
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat May 29 11:51:06 2010 +0200 (2010-05-29) |
parents | 76990ad741d7 |
children | 480ee8596aea |
rev | line source |
---|---|
pascal@1716 | 1 # SliTaz package receipt. |
pascal@1716 | 2 |
pascal@1716 | 3 PACKAGE="syslinux-modules" |
pascal@3665 | 4 VERSION="3.82" |
pascal@1716 | 5 CATEGORY="system-tools" |
pascal@3665 | 6 SHORT_DESC="modules for syslinux" |
pascal@1716 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@1716 | 8 WANTED="syslinux" |
pascal@1716 | 9 WEB_SITE="http://syslinux.zytor.com/" |
pascal@1716 | 10 BUILD_DEPENDS="lzma" |
pascal@1716 | 11 |
pascal@1716 | 12 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1716 | 13 genpkg_rules() |
pascal@1716 | 14 { |
pascal@1716 | 15 mkdir -p $fs/usr/share/boot |
pascal@3665 | 16 for i in $src/com32/*/*.c32 ; do |
pascal@3665 | 17 case "$i" in |
pascal@3665 | 18 */reboot.c32|*/ifmem.c32) continue;; |
pascal@3665 | 19 esac |
pascal@3665 | 20 lzma e $i $fs/usr/share/boot/$(basename $i).lzma 2> /dev/null |
pascal@3665 | 21 done |
pascal@3665 | 22 for i in $src/modules/*.com ; do |
pascal@3665 | 23 case "$i" in |
pascal@3665 | 24 */poweroff.com) continue;; |
pascal@3665 | 25 esac |
pascal@3665 | 26 cp $i $fs/usr/share/boot/$(basename $i) 2> /dev/null |
pascal@1716 | 27 done |
pascal@1716 | 28 } |