sys-apps/mdp - 9999 (gentoo-zh)

Search

Install

Install this version:

emerge -a =sys-apps/mdp-9999

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

autounmask =sys-apps/mdp-9999

Or alternatively:

emerge --autounmask-write -a =sys-apps/mdp-9999

Package Information

Description:
A command-line based markdown presentation tool
Homepage:
https://github.com/visit1985/mdp
License:
GPL-3+

Ebuild Details

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

EAPI=7

inherit git-r3 toolchain-funcs

DESCRIPTION="A command-line based markdown presentation tool"
HOMEPAGE="https://github.com/visit1985/mdp"

EGIT_REPO_URI="https://github.com/visit1985/mdp.git"

LICENSE="GPL-3+"
SLOT="0"

RDEPEND="sys-libs/ncurses:="
DEPEND="${RDEPEND}"
BDEPEND="virtual/pkgconfig"

src_compile() {
	export CPPFLAGS+=" $($(tc-getPKG_CONFIG) --cflags ncursesw)"
	emake CC="$(tc-getCC)" LDLIBS="$($(tc-getPKG_CONFIG) --libs ncursesw)"
}

src_install() {
	dobin mdp
}

Inherited Eclasses

Dependencies

DEPEND

sys-libs/ncurses:=

RDEPEND

sys-libs/ncurses:=

BDEPEND

virtual/pkgconfig