# 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 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_unpack() { 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 }