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

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"

src_prepare() {
	# remove the CFLAGS and LDFLAGS defination in Makefile,
	# use default option in make.conf as the binary will be stripped automatically
	sed -i -e '/CFLAGS[[:space:]]*=/d' -e '/LDFLAGS[[:space:]]*=/d' Makefile
}

src_install() {
	dobin mdp
}

Inherited Eclasses

Dependencies

RDEPEND

sys-libs/ncurses