wok-6.x annotate fasm/receipt @ rev 22473

updated aespipe (2.4e -> 2.4f)
author Hans-G?nter Theisgen
date Fri Dec 27 17:45:00 2019 +0100 (2019-12-27)
parents 7f4bf91f0eb9
children 5132b984bf33
rev   line source
pascal@16158 1 # SliTaz package receipt.
pascal@16158 2
pascal@16158 3 PACKAGE="fasm"
pascal@21983 4 VERSION="1.73.16"
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@20911 9 WEB_SITE="http://flatassembler.net/"
Hans-G?nter@20911 10
pascal@16158 11 TARBALL="$PACKAGE-$VERSION.tgz"
pascal@19452 12 EXTRA_SOURCE_FILES="FASMARM_small.ZIP"
pascal@16158 13 WGET_URL="$WEB_SITE$TARBALL"
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
pascal@19452 25 mv ReadMe.txt fasmarm.txt
pascal@20331 26 cp $src/SOURCE/LINUX/FASMARM.ASM $src/source/Linux/fasmarm.asm
pascal@19452 27 for i in $src/SOURCE/*.INC ; do
pascal@19452 28 cp $i $src/source/$(basename $i | tr [A-Z] [a-z])
pascal@19452 29 done
pascal@19452 30 mkdir -p $DESTDIR/usr/bin $DESTDIR/usr/share/doc/fasm
pascal@16158 31 cd $src/source/Linux
pascal@16158 32 ../../fasm fasm.asm $DESTDIR/usr/bin/fasm
pascal@21989 33 sed -i '/al,8Ah/{Nx}/check_for_used/{px}' ../exprcalc.inc
pascal@19452 34 ../../fasm fasmarm.asm $DESTDIR/usr/bin/fasmarm
pascal@19452 35 cp ../../*.txt $DESTDIR/usr/share/doc/fasm
pascal@16158 36 }
pascal@16158 37
pascal@16158 38 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@16158 39 genpkg_rules()
pascal@16158 40 {
pascal@19452 41 mkdir -p $fs/usr
pascal@19452 42 cp -a $install/usr/bin $fs/usr
pascal@16158 43 }