wok-next view fasm/receipt @ rev 19463
making newest gnumeric 1.12.32, user request: http://forum.slitaz.org/topic/gnumeric-110-buggy-how-can-i-get-112
author | Erkan Yilmaz <erkan@slitaz.org> |
---|---|
date | Mon Oct 24 11:13:58 2016 +0000 (2016-10-24) |
parents | 79ec85521a08 |
children | d43bf7aae921 |
line source
1 # SliTaz package receipt.
3 PACKAGE="fasm"
4 VERSION="1.71.57"
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 TARBALL="$PACKAGE-$VERSION.tgz"
10 EXTRA_SOURCE_FILES="FASMARM_small.ZIP"
11 WEB_SITE="http://flatassembler.net/"
12 WGET_URL="$WEB_SITE$TARBALL"
14 DEPENDS=""
15 BUILD_DEPENDS=""
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 [ -s $SOURCES_REPOSITORY/FASMARM_small.ZIP ] ||
21 wget -P $SOURCES_REPOSITORY \
22 http://arm.flatassembler.net/FASMARM_small.ZIP
23 unzip $SOURCES_REPOSITORY/FASMARM_small.ZIP
24 mv ReadMe.txt fasmarm.txt
25 sed 's/^character.*/&\npreprocessing_done db ?/' \
26 < $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 ../../fasm fasmarm.asm $DESTDIR/usr/bin/fasmarm
34 cp ../../*.txt $DESTDIR/usr/share/doc/fasm
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr
41 cp -a $install/usr/bin $fs/usr
42 }