summaryrefslogtreecommitdiff
blob: 5600a29269bffb64631462f10b8e380e661d4a99 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI="5"

DESCRIPTION="Command-line based markdown presentation tool."
HOMEPAGE="https://github.com/visit1985/mdp"
SRC_URI="https://github.com/visit1985/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"

LICENSE="GPL-3+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

src_compile() {
	emake CFLAGS="${CFLAGS} -I../include" LDFLAGS="${LDFLAGS}"
}

src_install() {
	emake PREFIX=/usr DESTDIR="${D}" install

	insinto /usr/share/${PN}/
	doins sample.md || die
}