wok view fasm/receipt @ rev 23621

updated ruby and ruby-dev (2.6.4 -> 2.7.1)
author Hans-G?nter Theisgen
date Tue Apr 14 15:51:31 2020 +0100 (2020-04-14)
parents 40d959c94738
children 46dcc80bef41
line source
1 # SliTaz package receipt.
3 PACKAGE="fasm"
4 VERSION="1.73.21"
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="https://flatassembler.net/"
11 TARBALL="$PACKAGE-$VERSION.tgz"
12 WGET_URL="$WEB_SITE$TARBALL"
13 EXTRA_SOURCE_FILES="FASMARM_small.ZIP"
15 DEPENDS=""
16 BUILD_DEPENDS=""
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 [ -s $SOURCES_REPOSITORY/FASMARM_small.ZIP ] ||
22 wget -P $SOURCES_REPOSITORY \
23 http://arm.flatassembler.net/FASMARM_small.ZIP
24 unzip $SOURCES_REPOSITORY/FASMARM_small.ZIP
26 mv ReadMe.txt fasmarm.txt
27 cp $src/SOURCE/LINUX/FASMARM.ASM $src/source/Linux/fasmarm.asm
28 for i in $src/SOURCE/*.INC
29 do
30 cp $i $src/source/$(basename $i | tr [A-Z] [a-z])
31 done
33 mkdir -p $DESTDIR/usr/bin
34 mkdir -p $DESTDIR/usr/share/doc/fasm
36 cd $src/source/Linux
37 ../../fasm fasm.asm $DESTDIR/usr/bin/fasm
38 sed -i '/al,8Ah/{Nx}/check_for_used/{px}' \
39 ../exprcalc.inc
40 ../../fasm fasmarm.asm $DESTDIR/usr/bin/fasmarm
41 cp ../../*.txt $DESTDIR/usr/share/doc/fasm
42 }
44 # Rules to gen a SliTaz package suitable for Tazpkg.
45 genpkg_rules()
46 {
47 mkdir -p $fs/usr
48 cp -a $install/usr/bin $fs/usr
49 }