wok-next diff fasm/receipt @ rev 19497
Up SliTaz projects: cookutils (838), slitaz-base-files (314), tazlito (439 again, seems failure isn't here).
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Nov 17 01:33:43 2016 +0200 (2016-11-17) |
parents | 79ec85521a08 |
children | d43bf7aae921 |
line diff
1.1 --- a/fasm/receipt Sun Jul 27 13:34:02 2014 +0200 1.2 +++ b/fasm/receipt Thu Nov 17 01:33:43 2016 +0200 1.3 @@ -1,13 +1,14 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="fasm" 1.7 -VERSION="1.71.21" 1.8 +VERSION="1.71.57" 1.9 CATEGORY="development" 1.10 -SHORT_DESC="Assembly language programming for x86 and x86-64 systems." 1.11 +SHORT_DESC="Assembly language programming for x86, x86-64 and ARM systems." 1.12 MAINTAINER="pascal.bellard@slitaz.org" 1.13 LICENSE="other" 1.14 TARBALL="$PACKAGE-$VERSION.tgz" 1.15 -WEB_SITE="http://www.flatassembler.net/" 1.16 +EXTRA_SOURCE_FILES="FASMARM_small.ZIP" 1.17 +WEB_SITE="http://flatassembler.net/" 1.18 WGET_URL="$WEB_SITE$TARBALL" 1.19 1.20 DEPENDS="" 1.21 @@ -16,16 +17,26 @@ 1.22 # Rules to configure and make the package. 1.23 compile_rules() 1.24 { 1.25 - mkdir -p $DESTDIR/usr/bin 1.26 + [ -s $SOURCES_REPOSITORY/FASMARM_small.ZIP ] || 1.27 + wget -P $SOURCES_REPOSITORY \ 1.28 + http://arm.flatassembler.net/FASMARM_small.ZIP 1.29 + unzip $SOURCES_REPOSITORY/FASMARM_small.ZIP 1.30 + mv ReadMe.txt fasmarm.txt 1.31 + sed 's/^character.*/&\npreprocessing_done db ?/' \ 1.32 + < $src/SOURCE/LINUX/FASMARM.ASM > $src/source/Linux/fasmarm.asm 1.33 + for i in $src/SOURCE/*.INC ; do 1.34 + cp $i $src/source/$(basename $i | tr [A-Z] [a-z]) 1.35 + done 1.36 + mkdir -p $DESTDIR/usr/bin $DESTDIR/usr/share/doc/fasm 1.37 cd $src/source/Linux 1.38 ../../fasm fasm.asm $DESTDIR/usr/bin/fasm 1.39 + ../../fasm fasmarm.asm $DESTDIR/usr/bin/fasmarm 1.40 + cp ../../*.txt $DESTDIR/usr/share/doc/fasm 1.41 } 1.42 1.43 # Rules to gen a SliTaz package suitable for Tazpkg. 1.44 genpkg_rules() 1.45 { 1.46 - mkdir -p $fs/usr/share $fs/usr/bin 1.47 - cp -a $install/usr/bin/fasm $fs/usr/share 1.48 - ln -s ../share/fasm $fs/usr/bin 1.49 - 1.50 + mkdir -p $fs/usr 1.51 + cp -a $install/usr/bin $fs/usr 1.52 }