diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2022-04-12 21:03:09 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2022-04-12 21:03:09 +0000 |
| commit | d97953e6ff67978da9554e7b4601aedceb21e215 (patch) | |
| tree | 674053c902db6972b9716c9ac3b1e960ee7a5358 /dev-util/mh | |
| parent | 1d1fa5bb30df70070bbbbd2b777b839d31f09c41 (diff) | |
| download | baldeagleos-repo-d97953e6ff67978da9554e7b4601aedceb21e215.tar.gz baldeagleos-repo-d97953e6ff67978da9554e7b4601aedceb21e215.tar.xz baldeagleos-repo-d97953e6ff67978da9554e7b4601aedceb21e215.zip | |
Adding metadata
Diffstat (limited to 'dev-util/mh')
| -rw-r--r-- | dev-util/mh/Manifest | 1 | ||||
| -rw-r--r-- | dev-util/mh/metadata.xml | 19 | ||||
| -rw-r--r-- | dev-util/mh/mh-1.0.3.ebuild | 33 |
3 files changed, 53 insertions, 0 deletions
diff --git a/dev-util/mh/Manifest b/dev-util/mh/Manifest new file mode 100644 index 000000000000..17cb68dc982b --- /dev/null +++ b/dev-util/mh/Manifest @@ -0,0 +1 @@ +DIST mh-1.0.3.tar.gz 929281 BLAKE2B 4a565dc317c9d0d6d3678bc9c4de56b186175414a84437c59deb0c10b8c3d6432e974deb995c9ed954e144bc8e7bac0145215409de88956d71c570eb8590ed63 SHA512 7f3e64bcac4743b746e5c0fbbc7579066ec563ac3a5f5fbbc1eb540111843ed72000c7b0fbb3787b1f9015d9c434fa99af5179f7c47cf7f217bf27a3f7ae6b05 diff --git a/dev-util/mh/metadata.xml b/dev-util/mh/metadata.xml new file mode 100644 index 000000000000..f7c437466137 --- /dev/null +++ b/dev-util/mh/metadata.xml @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <name>Oz Tiram</name> + <email>oz.tiram@gmail.com</email> + </maintainer> + <longdescription lang="en"> + A small program you put in your Makefile to produce fancy help. + mh parses the comments you put after targets and variables, and + produces a help menu, which helps understanding what each target + does. This is useful, if Makefile is used as a task launcher for + different tools (e.g. wrapper around docker, yarn, npm and setup.py + etc.) + </longdescription> + <upstream> + <remote-id type="github">oz123/mh</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-util/mh/mh-1.0.3.ebuild b/dev-util/mh/mh-1.0.3.ebuild new file mode 100644 index 000000000000..d2c0f855c11d --- /dev/null +++ b/dev-util/mh/mh-1.0.3.ebuild @@ -0,0 +1,33 @@ +# 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 + +IUSE="test" +KEYWORDS="~amd64" + +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 +} |
