summaryrefslogtreecommitdiff
path: root/www-apache/apache-mod-markdown/apache-mod-markdown-1.0.3.ebuild
blob: c26d3c1c37604ebd49a5165fef6ba9bb0338c306 (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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=8
inherit apache-module autotools

DESCRIPTION="mod_markdown is Markdown filter module for Apache HTTPD Server."
HOMEPAGE="https://github.com/hamano/apache-mod-markdown"
SRC_URI="https://github.com/hamano/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"

LICENSE=""
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

DEPEND="app-text/discount"
RDEPEND="${DEPEND}"
BDEPEND=""

need_apache2

src_prepare() {
	eautoreconf
	default
}

src_configure() {
	econf --with-apxs="${APXS}" --with-discount="/usr"
}

src_compile() {
	emake
}

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