wok view fasm/receipt @ rev 22042

gcc83-lib-base: do NOT provide gcc-lib-base
Currently BOTH gcc-lib-base and gcc83-lib-base are installed on my SliTaz system. So, with the current (and longstanding) tazpkg limitations I can't update just gcc-lib-base: tazpkg always updates gcc83-lib-base for me instead. Now I can't run Firefox, Vivaldi, Chrome, etc. I think because of gcc-lib-base, but I not sure 1bsolutely.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Oct 22 12:55:54 2019 +0300 (2019-10-22)
parents 7f4bf91f0eb9
children 5132b984bf33
line source
1 # SliTaz package receipt.
3 PACKAGE="fasm"
4 VERSION="1.73.16"
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 EXTRA_SOURCE_FILES="FASMARM_small.ZIP"
13 WGET_URL="$WEB_SITE$TARBALL"
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
25 mv ReadMe.txt fasmarm.txt
26 cp $src/SOURCE/LINUX/FASMARM.ASM $src/source/Linux/fasmarm.asm
27 for i in $src/SOURCE/*.INC ; do
28 cp $i $src/source/$(basename $i | tr [A-Z] [a-z])
29 done
30 mkdir -p $DESTDIR/usr/bin $DESTDIR/usr/share/doc/fasm
31 cd $src/source/Linux
32 ../../fasm fasm.asm $DESTDIR/usr/bin/fasm
33 sed -i '/al,8Ah/{Nx}/check_for_used/{px}' ../exprcalc.inc
34 ../../fasm fasmarm.asm $DESTDIR/usr/bin/fasmarm
35 cp ../../*.txt $DESTDIR/usr/share/doc/fasm
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 mkdir -p $fs/usr
42 cp -a $install/usr/bin $fs/usr
43 }