mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-19 12:03:02 -04:00
app-text/md4c: add md2html useflag
Signed-off-by: NRK <nrk@disroot.org>
This commit is contained in:
@@ -7,8 +7,8 @@ inherit cmake
|
||||
|
||||
# TODO(NRK):
|
||||
# - enable tests
|
||||
# - useflag to not build md2html tool
|
||||
# - useflag for static lib (?)
|
||||
# - move this under dev-libs or maybe split the md2html tool into it's own package (??)
|
||||
|
||||
if [[ ${PV} == 9999 ]]; then
|
||||
inherit git-r3
|
||||
@@ -25,6 +25,7 @@ HOMEPAGE="https://github.com/mity/md4c"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
IUSE="+md2html"
|
||||
|
||||
src_prepare() {
|
||||
cmake_src_prepare
|
||||
@@ -34,6 +35,7 @@ src_configure() {
|
||||
mycmakeargs=(
|
||||
-DCMAKE_BUILD_TYPE=Release
|
||||
-DBUILD_SHARED_LIBS=ON
|
||||
-DBUILD_MD2HTML_EXECUTABLE=$(usex md2html ON OFF)
|
||||
)
|
||||
|
||||
cmake_src_configure
|
||||
|
||||
@@ -4,6 +4,9 @@
|
||||
<maintainer type="person">
|
||||
<email>nrk@disroot.org</email>
|
||||
</maintainer>
|
||||
<use>
|
||||
<flag name="md2html">Build the md2html cli tool</flag>
|
||||
</use>
|
||||
<upstream>
|
||||
<remote-id type="github">mity/md4c</remote-id>
|
||||
</upstream>
|
||||
|
||||
Reference in New Issue
Block a user