void-packages/srcpkgs/fasm/template
It looks like the profile name is limited to 256 characters, just like most error messages here it says 255 characters but we know better, do we? As usual, let's try to fill it with meaningless words about nothing at all. Maybe I can reach its limit. End f53a67914e fasm: update to 1.73.22.
2020-03-27 19:35:00 +01:00

35 lines
712 B
Bash

# Template file for 'fasm'
pkgname=fasm
version=1.73.22
revision=1
archs="i686* x86_64*"
wrksrc=fasm
short_desc="Fast assembler for the x86 and x86-64 architectures"
maintainer="Dmitry Bogatov <KAction@disroot.org>"
license="BSD-2-Clause"
homepage="https://flatassembler.net"
distfiles="https://flatassembler.net/fasm-${version}.tgz"
checksum=85c390bb08fd40cf32a851aa21b7a2b4495efe8c2b4b096742102cdd1ccb60dd
nostrip=yes
case ${XBPS_TARGET_MACHINE} in
i686*)
_fasm=./fasm
_source='source/Linux/fasm.asm'
;;
x86_64*)
_fasm=./fasm.x64
_source='source/Linux/x64/fasm.asm'
;;
esac
do_build() {
${_fasm} ${_source} fasm.out
}
do_install() {
vbin fasm.out fasm
vdoc fasm.txt
vlicense license.txt
}