dev-util/lemon - 3.31.1 (booboo)

Search

Install

Install this version:

emerge -a =dev-util/lemon-3.31.1

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

autounmask =dev-util/lemon-3.31.1

Or alternatively:

emerge --autounmask-write -a =dev-util/lemon-3.31.1

Package Information

Description:
A LALR(1) parser generator
Homepage:
https://www.hwaci.com/sw/lemon/
License:
public-domain

Ebuild Details

Version EAPI Keywords Slot
3.31.1 7 ~amd64 ~x86 0
View Raw Ebuild
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

inherit toolchain-funcs

DESCRIPTION="A LALR(1) parser generator"
HOMEPAGE="https://www.hwaci.com/sw/lemon/"
SRC_PV="$(printf "%u%02u%02u%02u" $(ver_rs 1- " "))"
SRC_URI="https://sqlite.org/2020/sqlite-src-${SRC_PV}.zip"

LICENSE="public-domain"
KEYWORDS="~amd64 ~x86"
SLOT="0"
IUSE=""

PATCHES=( "${FILESDIR}/${PN}-3.6.23.1_gentoo.patch" )

S="${WORKDIR}/sqlite-src-${SRC_PV}/tool"

src_compile() {
	"$(tc-getCC)" -Wall -o lemon lemon.c || die
}

src_install() {
	insinto "/usr/share/lemon/"
	doins lempar.c
	dobin lemon
}

Inherited Eclasses