wok-6.x view fasm/receipt @ rev 20385
Add amiwm
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jun 23 10:59:44 2018 +0200 (2018-06-23) |
parents | 259bf47dcced |
children | db1b23d518a8 |
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 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 cp $src/SOURCE/LINUX/FASMARM.ASM $src/source/Linux/fasmarm.asm
26 for i in $src/SOURCE/*.INC ; do
27 cp $i $src/source/$(basename $i | tr [A-Z] [a-z])
28 done
29 mkdir -p $DESTDIR/usr/bin $DESTDIR/usr/share/doc/fasm
30 cd $src/source/Linux
31 ../../fasm fasm.asm $DESTDIR/usr/bin/fasm
32 ../../fasm fasmarm.asm $DESTDIR/usr/bin/fasmarm
33 cp ../../*.txt $DESTDIR/usr/share/doc/fasm
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr
40 cp -a $install/usr/bin $fs/usr
41 }