dev-lang/fasm - 1.73.35 (piniverlay)

Search

Install

Install this version:

emerge -a =dev-lang/fasm-1.73.35

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =dev-lang/fasm-1.73.35

Or alternatively:

emerge --autounmask-write -a =dev-lang/fasm-1.73.35

Package Information

Description:
Flat assembler
Homepage:
https://flatassembler.net
License:
BSD-2

Ebuild Details

Version EAPI Keywords Slot
1.73.35 8 ~amd64 ~x86 0
View Raw Ebuild
# Copyright 2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DESCRIPTION="Flat assembler"
HOMEPAGE="https://flatassembler.net"
SRC_URI="https://flatassembler.net/${P}.tgz"

LICENSE="BSD-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"

DEPEND=""
RDEPEND="${DEPEND}"
BDEPEND="sys-apps/diffutils"

S="${WORKDIR}/${PN}"
QA_PRESTRIPPED="usr/bin/fasm"

src_compile () {
	local bootstrap
	local src

	if use abi_x86_64; then
		bootstrap="${S}/fasm.x64"
		src=source/linux/x64/fasm.asm
	elif use abi_x86_32; then
		bootstrap="${S}/fasm"
		src=source/linux/fasm.asm
	fi
	test -n "${bootstrap}${src}" || die "No compatible ABI found"

	"${bootstrap}" "${src}" "${T}/fasm"
	einfo "Compare bootstrap and target"
	cmp --quiet "${bootstrap}" "${T}/fasm" || die "Stages differ"
}

src_install () {
	dobin "${T}/fasm"
	dodoc fasm.txt
}

Dependencies

BDEPEND

sys-apps/diffutils

Manifest for 1.73.35

Type File Size Source URLs
DIST fasm-1.73.35.tgz 353300 bytes https://flatassembler.net/fasm-1.73.35.tgz