dev-util/mh - 1.4.1 (guru)

Search

Install

Install this version:

emerge -a =dev-util/mh-1.4.1

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

autounmask =dev-util/mh-1.4.1

Or alternatively:

emerge --autounmask-write -a =dev-util/mh-1.4.1

Package Information

Description:
Generate help for Makefile
Homepage:
https://github.com/oz123/mh
License:
BSD

Ebuild Details

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

EAPI=7

DESCRIPTION="Generate help for Makefile"
HOMEPAGE="https://github.com/oz123/mh"
SRC_URI="https://github.com/oz123/mh/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"

LICENSE="BSD"
SLOT=0
KEYWORDS="~amd64"

inherit toolchain-funcs

IUSE="test"

RESTRICT="!test? ( test )"

BDEPEND="virtual/pkgconfig"
RDEPEND="dev-libs/libpcre2"
DEPEND="
	${RDEPEND}
	test? ( dev-util/cmocka )
"

src_compile() {
	emake mh VERSION="${PV}" CC="$(tc-getCC)"
}

src_install() {
	emake install DESTDIR="${D}" PREFIX="/usr"
	dodoc Makefile.example
}

USE Flags

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

Global/Standard Flags

Inherited Eclasses

Dependencies

DEPEND

	dev-libs/libpcre2
	test? ( dev-util/cmocka )

RDEPEND

dev-libs/libpcre2

BDEPEND

virtual/pkgconfig

Manifest for 1.4.1

Type File Size Source URLs
DIST mh-1.4.1.tar.gz 933304 bytes https://github.com/oz123/mh/archive/refs/tags/v1.4.1.tar.gz