summaryrefslogtreecommitdiff
blob: 7b0dc4f0cd2e4a4a89dad4e0d7d7888069efa5f8 (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
39
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI=4

EGIT_REPO_URI="git://git.warmcat.com/libwebsockets"

inherit git-2 autotools

DESCRIPTION="C Websockets Server Library"
HOMEPAGE="http://warmcat.com/libwebsockets"
SRC_URI=""

LICENSE="GPL-2"
SLOT="0"
KEYWORDS=""
IUSE="openssl +libcrypto nofork noping"
DEPEND="openssl? ( dev-libs/openssl )"
RDEPEND="${DEPEND}"

src_prepare() {
	eautoreconf
#	git_src_unpack
#	cd "${S}"
}

src_configure() {
	econf \
	  $(use_enable openssl) \
	  $(use_enable libcrypto) \
	  $(use_enable nofork) \
	  $(use_enable noping)
}

src_install() {
	emake install DESTDIR="${D}" || die
	dodoc README-test-server
}