wok rev 22752

updated fasm (1.73.16 -> 1.73.21)
author Hans-G?nter Theisgen
date Fri Jan 24 13:59:40 2020 +0100 (2020-01-24)
parents 9eb90cf8ff44
children 3463bfcc3cb9
files fasm/receipt
line diff
     1.1 --- a/fasm/receipt	Fri Jan 24 13:49:48 2020 +0100
     1.2 +++ b/fasm/receipt	Fri Jan 24 13:59:40 2020 +0100
     1.3 @@ -1,16 +1,16 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="fasm"
     1.7 -VERSION="1.73.16"
     1.8 +VERSION="1.73.21"
     1.9  CATEGORY="development"
    1.10  SHORT_DESC="Assembly language programming for x86, x86-64 and ARM systems."
    1.11  MAINTAINER="pascal.bellard@slitaz.org"
    1.12  LICENSE="other"
    1.13 -WEB_SITE="http://flatassembler.net/"
    1.14 +WEB_SITE="https://flatassembler.net/"
    1.15  
    1.16  TARBALL="$PACKAGE-$VERSION.tgz"
    1.17 +WGET_URL="$WEB_SITE$TARBALL"
    1.18  EXTRA_SOURCE_FILES="FASMARM_small.ZIP"
    1.19 -WGET_URL="$WEB_SITE$TARBALL"
    1.20  
    1.21  DEPENDS=""
    1.22  BUILD_DEPENDS=""
    1.23 @@ -22,22 +22,28 @@
    1.24  		wget -P $SOURCES_REPOSITORY \
    1.25  		http://arm.flatassembler.net/FASMARM_small.ZIP
    1.26  	unzip $SOURCES_REPOSITORY/FASMARM_small.ZIP
    1.27 +
    1.28  	mv ReadMe.txt fasmarm.txt
    1.29  	cp $src/SOURCE/LINUX/FASMARM.ASM $src/source/Linux/fasmarm.asm
    1.30 -	for i in $src/SOURCE/*.INC ; do
    1.31 +	for i in $src/SOURCE/*.INC
    1.32 +	  do
    1.33  		cp $i $src/source/$(basename $i | tr [A-Z] [a-z])
    1.34 -	done
    1.35 -	mkdir -p $DESTDIR/usr/bin $DESTDIR/usr/share/doc/fasm
    1.36 +	  done
    1.37 +
    1.38 +	mkdir -p $DESTDIR/usr/bin
    1.39 +	mkdir -p $DESTDIR/usr/share/doc/fasm
    1.40 +
    1.41  	cd $src/source/Linux
    1.42  	../../fasm fasm.asm $DESTDIR/usr/bin/fasm
    1.43 -	sed -i '/al,8Ah/{Nx}/check_for_used/{px}' ../exprcalc.inc
    1.44 +	sed -i '/al,8Ah/{Nx}/check_for_used/{px}' \
    1.45 +		../exprcalc.inc
    1.46  	../../fasm fasmarm.asm $DESTDIR/usr/bin/fasmarm
    1.47 -	cp ../../*.txt $DESTDIR/usr/share/doc/fasm
    1.48 +	cp ../../*.txt	$DESTDIR/usr/share/doc/fasm
    1.49  }
    1.50  
    1.51  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.52  genpkg_rules()
    1.53  {
    1.54  	mkdir -p $fs/usr
    1.55 -	cp -a $install/usr/bin $fs/usr
    1.56 +	cp -a $install/usr/bin	$fs/usr
    1.57  }