wok-current diff 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 diff
     1.1 --- a/linld/receipt	Sun Oct 20 22:08:25 2013 +0000
     1.2 +++ b/linld/receipt	Sun Dec 14 01:53:01 2014 +0100
     1.3 @@ -11,11 +11,21 @@
     1.4  WEB_SITE="$BASE_SITE/README.txt"
     1.5  WGET_URL="$BASE_SITE/$TARBALL"
     1.6  
     1.7 +BUILD_DEPENDS="dosbox"
     1.8 +
     1.9  # Rules to configure and make the package.
    1.10  compile_rules()
    1.11  {
    1.12  	mv DIST $src 2> /dev/null
    1.13  	cd $src
    1.14 +	patch -p0 < $stuff/load.u
    1.15 +	sed -i 's/^@pause/rem &/' LINLD097/*.BAT
    1.16 +	unix2dos > MAKE.BAT <<EOT
    1.17 +d:
    1.18 +cd linld097
    1.19 +!compile.bat
    1.20 +EOT
    1.21 +	SDL_VIDEODRIVER=dummy dosbox MAKE.BAT -exit -c "mount D $src"
    1.22  }
    1.23  
    1.24  # Rules to gen a SliTaz package suitable for Tazpkg.