Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add ebuild
  • Loading branch information
vozhyk- committed Jul 9, 2015
commit 818ef2a230fd2a753dfbdd42476ca67af95b6d2a
1 change: 1 addition & 0 deletions ebuild/net-libs/libhttpserver/Manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
EBUILD libhttpserver-9999.ebuild 845 SHA256 ff32b201a143a14a14f1ff1aec3826ea140a780623ebdfd68dd8c86b4a64413e SHA512 448d535de2fb9ba9321d382fb8994c364776a34967dc21d316386556acc99a20ecd2cc0a3b38c240f57cf95a78af0bcf8e3c5405dc9ee4917c2f19a7abda734c WHIRLPOOL 5638ca796d9d1e1e46cd5f706c763d4eaf60e7abcf922d388788a8f4d5b46e3e4e2b2f508d9a8435535ac675b11873527a701ed1e9ecb95471ad9101268aa48f
40 changes: 40 additions & 0 deletions ebuild/net-libs/libhttpserver/libhttpserver-9999.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# Copyright 2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI="4"

inherit git-r3

FORK="vozhyk-" # use "etr" for original version

DESCRIPTION="C++ library for creating an embedded Rest HTTP server (and more)"
HOMEPAGE="http://github.com/${FORK}/${PN}"
#EGIT_REPO_URI="git://github.com/${FORK}/${PN}.git"
EGIT_REPO_URI="/home/vozhyk/dev/cpp/${PN}"

LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~amd64"
IUSE="debug"

RDEPEND=">=net-libs/libmicrohttpd-0.9.37"
DEPEND="${RDEPEND}"

src_configure() {
./bootstrap

mkdir build
cd build && ECONF_SOURCE=.. econf \
$(use_enable debug) \
--disable-doxygen-doc # no useflag for now
# TODO configure checks for TLS
}

src_compile() {
cd build && emake
}

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