wok-6.x annotate linld/receipt @ rev 17575
Up: nano 2.3.6
author | Alexander Medvedev <devl547@gmail.com> |
---|---|
date | Sat Feb 07 21:34:36 2015 +0000 (2015-02-07) |
parents | 2a5cc8208d36 |
children | df58e6c974a3 |
rev | line source |
---|---|
pascal@2330 | 1 # SliTaz package receipt. |
pascal@2330 | 2 |
pascal@2330 | 3 PACKAGE="linld" |
pascal@2330 | 4 VERSION="0.97" |
pascal@2330 | 5 CATEGORY="system-tools" |
pascal@2330 | 6 SHORT_DESC="Boot loader for DOS/Win9x." |
pascal@2330 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15379 | 8 LICENSE="GPL" |
pascal@2330 | 9 TARBALL="${PACKAGE}$(echo $VERSION | sed 's/[^0-9]//')devel.tar.bz2" |
pascal@2330 | 10 BASE_SITE="http://busybox.net/~vda/$PACKAGE" |
pascal@2330 | 11 WEB_SITE="$BASE_SITE/README.txt" |
pascal@2330 | 12 WGET_URL="$BASE_SITE/$TARBALL" |
pascal@2330 | 13 |
pascal@17446 | 14 BUILD_DEPENDS="dosbox" |
pascal@17446 | 15 |
pascal@2330 | 16 # Rules to configure and make the package. |
pascal@2330 | 17 compile_rules() |
pascal@2330 | 18 { |
pascal@2330 | 19 mv DIST $src 2> /dev/null |
pascal@2330 | 20 cd $src |
pascal@17446 | 21 patch -p0 < $stuff/load.u |
pascal@17446 | 22 sed -i 's/^@pause/rem &/' LINLD097/*.BAT |
pascal@17446 | 23 unix2dos > MAKE.BAT <<EOT |
pascal@17446 | 24 d: |
pascal@17446 | 25 cd linld097 |
pascal@17446 | 26 !compile.bat |
pascal@17446 | 27 EOT |
pascal@17446 | 28 SDL_VIDEODRIVER=dummy dosbox MAKE.BAT -exit -c "mount D $src" |
pascal@2330 | 29 } |
pascal@2330 | 30 |
pascal@2330 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@2330 | 32 genpkg_rules() |
pascal@2330 | 33 { |
pascal@2330 | 34 mkdir -p $fs/usr/share/boot |
pascal@2331 | 35 cp $src/LINLD$(echo $VERSION | sed 's/[^0-9]//')/LINLD.COM \ |
pascal@2331 | 36 $fs/usr/share/boot/linld.com |
slaxemulator@9309 | 37 cp $stuff/linld.txt $fs/usr/share/boot/ |
pascal@2330 | 38 } |
pascal@2330 | 39 |