wok-current view linld/receipt @ rev 17446

linld: add linux 2.0-2.4 support
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Dec 14 01:53:01 2014 +0100 (2014-12-14)
parents 2a5cc8208d36
children df58e6c974a3
line source
1 # SliTaz package receipt.
3 PACKAGE="linld"
4 VERSION="0.97"
5 CATEGORY="system-tools"
6 SHORT_DESC="Boot loader for DOS/Win9x."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL"
9 TARBALL="${PACKAGE}$(echo $VERSION | sed 's/[^0-9]//')devel.tar.bz2"
10 BASE_SITE="http://busybox.net/~vda/$PACKAGE"
11 WEB_SITE="$BASE_SITE/README.txt"
12 WGET_URL="$BASE_SITE/$TARBALL"
14 BUILD_DEPENDS="dosbox"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 mv DIST $src 2> /dev/null
20 cd $src
21 patch -p0 < $stuff/load.u
22 sed -i 's/^@pause/rem &/' LINLD097/*.BAT
23 unix2dos > MAKE.BAT <<EOT
24 d:
25 cd linld097
26 !compile.bat
27 EOT
28 SDL_VIDEODRIVER=dummy dosbox MAKE.BAT -exit -c "mount D $src"
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/share/boot
35 cp $src/LINLD$(echo $VERSION | sed 's/[^0-9]//')/LINLD.COM \
36 $fs/usr/share/boot/linld.com
37 cp $stuff/linld.txt $fs/usr/share/boot/
38 }