mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-11 08:03:16 -04:00
dev-util/mh: add 1.4.1, drop 1.0.3
Bug: https://bugs.gentoo.org/945210 Signed-off-by: Oz Tiram <oz.tiram@gmail.com>
This commit is contained in:
32
dev-util/mh/mh-1.4.1.ebuild
Normal file
32
dev-util/mh/mh-1.4.1.ebuild
Normal file
@@ -0,0 +1,32 @@
|
||||
# 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
|
||||
}
|
||||
Reference in New Issue
Block a user