dev-libs/funchook - 1.1.3 (bennypowers)

Search

Install

Install this version:

emerge -a =dev-libs/funchook-1.1.3

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

autounmask =dev-libs/funchook-1.1.3

Or alternatively:

emerge --autounmask-write -a =dev-libs/funchook-1.1.3

Package Information

Description:
Hook functions by binary rewriting; used by comfy-aimdo
Homepage:
https://github.com/kubo/funchook
License:
GPL-2+ BSD

Ebuild Details

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

EAPI=8

inherit cmake

DESCRIPTION="Hook functions by binary rewriting; used by comfy-aimdo"
HOMEPAGE="https://github.com/kubo/funchook"
SRC_URI="https://github.com/kubo/funchook/releases/download/v${PV}/funchook-${PV}.tar.gz"

LICENSE="GPL-2+ BSD"
SLOT="0/1"
KEYWORDS="~amd64"

src_configure() {
	local mycmakeargs=(
		-DFUNCHOOK_BUILD_SHARED=ON
		-DFUNCHOOK_BUILD_STATIC=OFF
		-DFUNCHOOK_BUILD_TESTS=OFF
		# distorm is bundled in the release tarball; the capstone and zydis
		# backends fetch sources from the network at build time
		-DFUNCHOOK_DISASM=distorm
	)
	cmake_src_configure
}

Inherited Eclasses

Manifest for 1.1.3

Type File Size Source URLs
DIST funchook-1.1.3.tar.gz 421487 bytes https://github.com/kubo/funchook/releases/download/v1.1.3/funchook-1.1.3.tar.gz