wok-next annotate fasm/receipt @ rev 21037
Small updates.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Nov 06 16:35:54 2018 +0200 (2018-11-06) |
parents | 89e9788caef7 |
children |
rev | line source |
---|---|
pascal@16158 | 1 # SliTaz package receipt. |
pascal@16158 | 2 |
pascal@16158 | 3 PACKAGE="fasm" |
pascal@20740 | 4 VERSION="1.73.04" |
pascal@16158 | 5 CATEGORY="development" |
al@21020 | 6 SHORT_DESC="Assembly language programming for x86, x86-64 and ARM systems" |
pascal@16158 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@16158 | 8 LICENSE="other" |
al@21020 | 9 WEB_SITE="http://flatassembler.net/" |
al@21020 | 10 |
pascal@16158 | 11 TARBALL="$PACKAGE-$VERSION.tgz" |
al@21020 | 12 WGET_URL="$WEB_SITE$TARBALL" |
pascal@19452 | 13 EXTRA_SOURCE_FILES="FASMARM_small.ZIP" |
pascal@16158 | 14 |
al@21020 | 15 compile_rules() { |
al@20513 | 16 [ -s $SRC/FASMARM_small.ZIP ] || |
al@20513 | 17 wget -P $SRC \ |
pascal@19452 | 18 http://arm.flatassembler.net/FASMARM_small.ZIP |
al@20513 | 19 unzip $SRC/FASMARM_small.ZIP |
pascal@19452 | 20 mv ReadMe.txt fasmarm.txt |
pascal@20740 | 21 cp $src/SOURCE/LINUX/FASMARM.ASM $src/source/Linux/fasmarm.asm |
al@21020 | 22 for i in $src/SOURCE/*.INC; do |
pascal@19452 | 23 cp $i $src/source/$(basename $i | tr [A-Z] [a-z]) |
pascal@19452 | 24 done |
al@21020 | 25 mkdir -p $install/usr/bin $install/usr/share/doc/fasm |
pascal@16158 | 26 cd $src/source/Linux |
al@21020 | 27 ../../fasm fasm.asm $install/usr/bin/fasm |
al@21020 | 28 ../../fasm fasmarm.asm $install/usr/bin/fasmarm |
al@21020 | 29 cp ../../*.txt $install/usr/share/doc/fasm |
pascal@16158 | 30 } |
pascal@16158 | 31 |
al@21020 | 32 genpkg_rules() { |
pascal@19452 | 33 mkdir -p $fs/usr |
pascal@19452 | 34 cp -a $install/usr/bin $fs/usr |
pascal@16158 | 35 } |