wok-current rev 25578

Remove nimrod
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun May 14 19:10:16 2023 +0000 (18 months ago)
parents e483324933fa
children 7d24d697015f
files BootProg/stuff/boot16.asm nim/receipt nimrod/receipt
line diff
     1.1 --- a/BootProg/stuff/boot16.asm	Sat May 13 18:02:59 2023 +0000
     1.2 +++ b/BootProg/stuff/boot16.asm	Sun May 14 19:10:16 2023 +0000
     1.3 @@ -96,7 +96,7 @@
     1.4  NullEntryCheck          equ     1               ; +2 bytes
     1.5  ReadRetry               equ     1               ; +9/+13 bytes
     1.6  LBAsupport              equ     1               ; +18 bytes
     1.7 -CHSsanityCheck          equ     1               ; +10/+14 bytes 
     1.8 +CHSsanityCheck          equ     1               ; +9/+13 bytes 
     1.9  GeometryCheck           equ     1               ; +20 bytes
    1.10  CheckAttrib             equ     0               ; +6 bytes
    1.11  WaitForKey              equ     0               ; +5 bytes
    1.12 @@ -609,7 +609,7 @@
    1.13  
    1.14  %if CHSsanityCheck != 0
    1.15          cmp     ax, [bx(bpbHeadsPerCylinder)]
    1.16 -        jnc     CHSoverflow
    1.17 +        jns     CHSoverflow
    1.18  %endif
    1.19          xchg    ax, cx                  ; restore low LBA, save high LBA / SPT
    1.20          idiv    word [bx(bpbSectorsPerTrack)]
    1.21 @@ -622,7 +622,7 @@
    1.22                  ; ax = (LBA / SPT) / HPC = cylinder
    1.23                  ; dx = (LBA / SPT) % HPC = head
    1.24  
    1.25 -        xchg    ch, al                  ; clear al
    1.26 +        xchg    ch, al                  ; clear al, save cylinder no.
    1.27                  ; ch = LSB 0...7 of cylinder no.
    1.28          shr     ax, 1
    1.29          shr     ax, 1
    1.30 @@ -632,7 +632,7 @@
    1.31                  ; dh = head no.
    1.32  
    1.33  %if CHSsanityCheck != 0
    1.34 -        sub     ah, 1                   ; set C if cylinder < 1024 (8GB max)
    1.35 +        dec     ah                      ; set S if cylinder < 1024 (8GB max)
    1.36  CHSoverflow:
    1.37  %endif
    1.38          mov     si, sp
    1.39 @@ -655,7 +655,7 @@
    1.40          popf
    1.41          pushf
    1.42   %endif
    1.43 -        jnc     SkipCHS
    1.44 +        jns     SkipCHS
    1.45  %endif
    1.46          int     13h                     ; read sectors (AL, CX, DX, ES:BX)
    1.47          jnc     ReadSectorNextSegment
     2.1 --- a/nim/receipt	Sat May 13 18:02:59 2023 +0000
     2.2 +++ b/nim/receipt	Sun May 14 19:10:16 2023 +0000
     2.3 @@ -7,6 +7,7 @@
     2.4  MAINTAINER="maintainer@slitaz.org"
     2.5  LICENSE="MIT"
     2.6  WEB_SITE="https://www.nim-lang.org/"
     2.7 +PROVIDES="nimrod"
     2.8  
     2.9  TARBALL="$PACKAGE-$VERSION.tar.xz"
    2.10  WGET_URL="${WEB_SITE}download/$TARBALL"
     3.1 --- a/nimrod/receipt	Sat May 13 18:02:59 2023 +0000
     3.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.3 @@ -1,47 +0,0 @@
     3.4 -# SliTaz package receipt.
     3.5 -
     3.6 -PACKAGE="nimrod"
     3.7 -VERSION="1.6.12"
     3.8 -CATEGORY="development"
     3.9 -SHORT_DESC="The Nimrod programming language."
    3.10 -MAINTAINER="admin@trixarian.net"
    3.11 -LICENSE="GPL"
    3.12 -TARBALL="nim-$VERSION.tar.xz"
    3.13 -WEB_SITE="https://min-lang.org/"
    3.14 -WGET_URL="https://nim-lang.org/download/$TARBALL"
    3.15 -PROVIDES="nim"
    3.16 -
    3.17 -DEPENDS="glibc-base readline"
    3.18 -BUILD_DEPENDS="gcc83 glibc-dev readline-dev"
    3.19 -
    3.20 -# What is the latest version available today?
    3.21 -current_version()
    3.22 -{
    3.23 -	wget -O - https://nim-lang.org/install.html 2>/dev/null | \
    3.24 -	sed '/source/!d;s|.*nim-||;s|.tar.*||;q'
    3.25 -}
    3.26 -
    3.27 -# Rules to configure and make the package.
    3.28 -compile_rules()
    3.29 -{
    3.30 -	sed -i "s/uname -m/echo $ARCH/" build.sh
    3.31 -	chmod +x build.sh
    3.32 -	chmod +x install.sh
    3.33 -	CC=gcc-83 ./build.sh
    3.34 -	export PATH=$PATH:$src/bin
    3.35 -	./bin/nim c -d:release koch
    3.36 -	./bin/nim r ./koch.nim boot -d:release
    3.37 -	./install.sh $DESTDIR
    3.38 -}
    3.39 -
    3.40 -# Rules to gen a SliTaz package suitable for Tazpkg.
    3.41 -genpkg_rules()
    3.42 -{
    3.43 -	mkdir -p $fs/usr/lib $fs/usr/share/nim
    3.44 -	cp -a $install/nim/bin		$fs/usr
    3.45 -	cp -a $install/nim/config	$fs/etc
    3.46 -	cp -a $install/nim/lib		$fs/usr/lib/nim
    3.47 -	cp -a $install/nim/nim.nimble	$fs/usr/lib/nim
    3.48 -	cp -a $install/nim/compiler	$fs/usr/lib/nim
    3.49 -	cp -a $install/nim/doc		$fs/usr/share/nim
    3.50 -}