wok-next view fasm/receipt @ rev 21465

updated stuntman (1.2.13 -> 1.2.15)
author Hans-G?nter Theisgen
date Tue May 12 09:08:36 2020 +0100 (2020-05-12)
parents 89e9788caef7
children
line source
1 # SliTaz package receipt.
3 PACKAGE="fasm"
4 VERSION="1.73.04"
5 CATEGORY="development"
6 SHORT_DESC="Assembly language programming for x86, x86-64 and ARM systems"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="other"
9 WEB_SITE="http://flatassembler.net/"
11 TARBALL="$PACKAGE-$VERSION.tgz"
12 WGET_URL="$WEB_SITE$TARBALL"
13 EXTRA_SOURCE_FILES="FASMARM_small.ZIP"
15 compile_rules() {
16 [ -s $SRC/FASMARM_small.ZIP ] ||
17 wget -P $SRC \
18 http://arm.flatassembler.net/FASMARM_small.ZIP
19 unzip $SRC/FASMARM_small.ZIP
20 mv ReadMe.txt fasmarm.txt
21 cp $src/SOURCE/LINUX/FASMARM.ASM $src/source/Linux/fasmarm.asm
22 for i in $src/SOURCE/*.INC; do
23 cp $i $src/source/$(basename $i | tr [A-Z] [a-z])
24 done
25 mkdir -p $install/usr/bin $install/usr/share/doc/fasm
26 cd $src/source/Linux
27 ../../fasm fasm.asm $install/usr/bin/fasm
28 ../../fasm fasmarm.asm $install/usr/bin/fasmarm
29 cp ../../*.txt $install/usr/share/doc/fasm
30 }
32 genpkg_rules() {
33 mkdir -p $fs/usr
34 cp -a $install/usr/bin $fs/usr
35 }