dev-libs/udis86 - 1.7.2-r2 (gentoo)

Search

Install

Install this version:

emerge -a =dev-libs/udis86-1.7.2-r2

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

autounmask =dev-libs/udis86-1.7.2-r2

Or alternatively:

emerge --autounmask-write -a =dev-libs/udis86-1.7.2-r2

Package Information

Description:
Disassembler library for the x86/-64 architecture sets
Homepage:
https://udis86.sourceforge.net/
License:
BSD

Ebuild Details

Version EAPI Keywords Slot
1.7.2-r2 8 amd64 ~arm64 ~hppa ppc ~ppc64 ~riscv ~sparc x86 0
View Raw Ebuild
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

PYTHON_COMPAT=( python3_{11..14} )
PYTHON_REQ_USE="xml(+)"

inherit autotools multilib-minimal python-any-r1

DESCRIPTION="Disassembler library for the x86/-64 architecture sets"
HOMEPAGE="https://udis86.sourceforge.net/"
SRC_URI="https://downloads.sourceforge.net/${PN}/${P}.tar.gz"

LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 ~arm64 ~hppa ppc ~ppc64 ~riscv ~sparc x86"
IUSE="test"
RESTRICT="!test? ( test )"

BDEPEND="
	${PYTHON_DEPS}
	test? (
		app-shells/bash
		amd64? ( dev-lang/yasm )
		arm64? ( dev-lang/yasm )
		x86? ( dev-lang/yasm )
	)"

PATCHES=(
	"${FILESDIR}"/${P}-docdir.patch
	"${FILESDIR}"/${P}-python3.patch
	"${FILESDIR}"/${P}-uninitialized-variable.patch
	"${FILESDIR}"/${P}-bash-test.patch
)

src_prepare() {
	default
	eautoreconf
}

multilib_src_configure() {
	ECONF_SOURCE="${S}" econf \
		--enable-shared \
		--with-pic \
		--with-python="${PYTHON}"
}

multilib_src_install_all() {
	einstalldocs

	# no static archives
	find "${ED}" -name '*.la' -delete || die
}

USE Flags

Manage flags for this package: euse -i <flag> -p dev-libs/udis86 | euse -E <flag> -p dev-libs/udis86 | euse -D <flag> -p dev-libs/udis86

Global/Standard Flags

Inherited Eclasses

Dependencies

BDEPEND

	
	test? (
		app-shells/bash
		amd64? ( dev-lang/yasm )
		arm64? ( dev-lang/yasm )
		x86? ( dev-lang/yasm )
	)