summaryrefslogtreecommitdiff
blob: 49f39923cccea3ab51b707f07aaaf8de00fb6041 (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
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

EAPI=5

DESCRIPTION="A language agnostic web server focused on web applications"
HOMEPAGE="http://mongrel2.org"
SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"

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

DEPEND="net-libs/zeromq
	>=net-libs/mbedtls-2.1[havege]
	dev-db/sqlite:3"
RDEPEND="${DEPEND}"

src_prepare() {
	cp "${FILESDIR}/systemtls.mak" Makefile || die
}

src_install() {
	emake install PREFIX=/usr DESTDIR="${D}"
	dodoc README examples/configs/mongrel2.conf
}