Files
guru/dev-util/mh/mh-1.0.3.ebuild
Lucio Sauer 1cd433d3b9 dev-util/*: fix variable order
I manually went through some entries for `pkgcheck scan -c
VariableOrderCheck`.

Signed-off-by: Lucio Sauer <watermanpaint@posteo.net>
Signed-off-by: Julien Roy <julien@jroy.ca>
2024-05-13 18:18:20 -04:00

33 lines
598 B
Bash

# 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"
IUSE="test"
RESTRICT="!test? ( test )"
BDEPEND="virtual/pkgconfig"
RDEPEND="dev-libs/libpcre2"
DEPEND="
${RDEPEND}
test? ( dev-util/cmocka )
"
src_compile() {
emake mh VERSION="${PV}"
}
src_install() {
emake install DESTDIR="${D}" PREFIX="/usr"
dodoc Makefile.example
}