dev-util/oyacc - 6.6 (lanodanOverlay)

Search

Install

Install this version:

emerge -a =dev-util/oyacc-6.6

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

autounmask =dev-util/oyacc-6.6

Or alternatively:

emerge --autounmask-write -a =dev-util/oyacc-6.6

Package Information

Description:
Portable OpenBSD Yacc
Homepage:
https://github.com/ibara/yacc
License:
BSD ISC public-domain

Ebuild Details

Version EAPI Keywords Slot
6.6 8 ~amd64 0
View Raw Ebuild
# Copyright 2024 Haelwenn (lanodan) Monnier <contact@hacktivis.me>
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DESCRIPTION="Portable OpenBSD Yacc"
HOMEPAGE="https://github.com/ibara/yacc"
SRC_URI="https://github.com/ibara/yacc/archive/refs/tags/oyacc-${PV}.tar.gz"
S="${WORKDIR}/yacc-oyacc-${PV}/"
LICENSE="BSD ISC public-domain"
SLOT="0"
KEYWORDS="~amd64"
IUSE="static"

src_configure() {
	# Somehow BINDIR isn't set in the generated Makefile
	export BINDIR="${EPREFIX}/usr/bin"

	# --disable-yacc: Installs as oyacc+oyyfix rather than yacc+yyfix
	./configure \
		--prefix="${EPREFIX}/usr" \
		--mandir="${EPREFIX}/usr/share/man/man1" \
		--disable-yacc \
		$(use_enable static) \
		|| die
}

USE Flags

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

Global/Standard Flags

Manifest for 6.6

Type File Size Source URLs
DIST oyacc-6.6.tar.gz 38053 bytes https://github.com/ibara/yacc/archive/refs/tags/oyacc-6.6.tar.gz