wok-current annotate fasm/receipt @ rev 23165

updated matio (1.5.15 -> 1.5.17)
author Hans-G?nter Theisgen
date Tue Mar 17 16:23:31 2020 +0100 (2020-03-17)
parents 40d959c94738
children 46dcc80bef41
rev   line source
pascal@16158 1 # SliTaz package receipt.
pascal@16158 2
pascal@16158 3 PACKAGE="fasm"
Hans-G?nter@22752 4 VERSION="1.73.21"
pascal@16158 5 CATEGORY="development"
pascal@19452 6 SHORT_DESC="Assembly language programming for x86, x86-64 and ARM systems."
pascal@16158 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@16158 8 LICENSE="other"
Hans-G?nter@22752 9 WEB_SITE="https://flatassembler.net/"
Hans-G?nter@20911 10
pascal@16158 11 TARBALL="$PACKAGE-$VERSION.tgz"
Hans-G?nter@22752 12 WGET_URL="$WEB_SITE$TARBALL"
pascal@19452 13 EXTRA_SOURCE_FILES="FASMARM_small.ZIP"
pascal@16158 14
pascal@16158 15 DEPENDS=""
pascal@16158 16 BUILD_DEPENDS=""
pascal@16158 17
pascal@16158 18 # Rules to configure and make the package.
pascal@16158 19 compile_rules()
pascal@16158 20 {
pascal@19452 21 [ -s $SOURCES_REPOSITORY/FASMARM_small.ZIP ] ||
pascal@19452 22 wget -P $SOURCES_REPOSITORY \
pascal@19452 23 http://arm.flatassembler.net/FASMARM_small.ZIP
pascal@19452 24 unzip $SOURCES_REPOSITORY/FASMARM_small.ZIP
Hans-G?nter@22752 25
pascal@19452 26 mv ReadMe.txt fasmarm.txt
pascal@20331 27 cp $src/SOURCE/LINUX/FASMARM.ASM $src/source/Linux/fasmarm.asm
Hans-G?nter@22752 28 for i in $src/SOURCE/*.INC
Hans-G?nter@22752 29 do
pascal@19452 30 cp $i $src/source/$(basename $i | tr [A-Z] [a-z])
Hans-G?nter@22752 31 done
Hans-G?nter@22752 32
Hans-G?nter@22752 33 mkdir -p $DESTDIR/usr/bin
Hans-G?nter@22752 34 mkdir -p $DESTDIR/usr/share/doc/fasm
Hans-G?nter@22752 35
pascal@16158 36 cd $src/source/Linux
pascal@16158 37 ../../fasm fasm.asm $DESTDIR/usr/bin/fasm
Hans-G?nter@22752 38 sed -i '/al,8Ah/{Nx}/check_for_used/{px}' \
Hans-G?nter@22752 39 ../exprcalc.inc
pascal@19452 40 ../../fasm fasmarm.asm $DESTDIR/usr/bin/fasmarm
Hans-G?nter@22752 41 cp ../../*.txt $DESTDIR/usr/share/doc/fasm
pascal@16158 42 }
pascal@16158 43
pascal@16158 44 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@16158 45 genpkg_rules()
pascal@16158 46 {
pascal@19452 47 mkdir -p $fs/usr
Hans-G?nter@22752 48 cp -a $install/usr/bin $fs/usr
pascal@16158 49 }