dev-build/jam - 2.6.1 (myov)

Search

Install

Install this version:

emerge -a =dev-build/jam-2.6.1

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

autounmask =dev-build/jam-2.6.1

Or alternatively:

emerge --autounmask-write -a =dev-build/jam-2.6.1

Package Information

Description:
make(1) redux, build utility based on Make
Homepage:
https://swarm.workshop.perforce.com/projects/perforce_software-jam/
License:
BSD

Ebuild Details

Version EAPI Keywords Slot
2.6.1 8 ~amd64 ~arm ~arm64 ~mips ~ppc64 ~riscv ~x86 0
View Raw Ebuild
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit custom-cflags toolchain-funcs

DESCRIPTION="make(1) redux, build utility based on Make"
HOMEPAGE="https://swarm.workshop.perforce.com/projects/perforce_software-jam/"
SRC_URI="https://swarm.workshop.perforce.com/downloads/guest/perforce_software/jam/${P}.tar"

LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc64 ~riscv ~x86"

PATCHES=(
	"${FILESDIR}/jam-2.6.1-jamfile-bin.patch"
	"${FILESDIR}/jam-2.6.1-makefile-cc.patch"
)

DOCS=( Jam.html Jambase.html Jamfile.html README RELNOTES )

src_configure() {
	custom-cflags_src_configure

	tc-export AR CC RANLIB
}

src_compile() {
	local _cflags="${CFLAGS} -std=c89 ${LDFLAGS}"
	local _ar="${AR} ${ARFLAGS} ru"

	emake AR="${_ar}" CC="${CC}" RANLIB="${RANLIB}" \
		  CFLAGS="${_cflags}" CCFLAGS="${_cflags}"
}

src_install() {
	exeinto /usr/bin
	doexe ./bin/jam

	einstalldocs
}

Inherited Eclasses

Manifest for 2.6.1

Type File Size Source URLs
DIST jam-2.6.1.tar 665600 bytes https://swarm.workshop.perforce.com/downloads/guest/perforce_software/jam/jam-2.6.1.tar