* [gentoo-commits] dev/mrueg:master commit in: net-libs/libevhtp/
@ 2016-01-10 19:15 Manuel Rüger
0 siblings, 0 replies; 2+ messages in thread
From: Manuel Rüger @ 2016-01-10 19:15 UTC (permalink / raw
To: gentoo-commits
commit: 430c4a796299471af6be561bd92118204457b2d4
Author: Manuel Rüger <mrueg <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 10 19:15:41 2016 +0000
Commit: Manuel Rüger <mrueg <AT> gentoo <DOT> org>
CommitDate: Sun Jan 10 19:15:41 2016 +0000
URL: https://gitweb.gentoo.org/dev/mrueg.git/commit/?id=430c4a79
net-libs/libevhtp: Initial version
Package-Manager: portage-2.2.26
net-libs/libevhtp/Manifest | 1 +
net-libs/libevhtp/libevhtp-1.2.11n.ebuild | 27 +++++++++++++++++++++++++++
net-libs/libevhtp/metadata.xml | 8 ++++++++
3 files changed, 36 insertions(+)
diff --git a/net-libs/libevhtp/Manifest b/net-libs/libevhtp/Manifest
new file mode 100644
index 0000000..3099ce2
--- /dev/null
+++ b/net-libs/libevhtp/Manifest
@@ -0,0 +1 @@
+DIST libevhtp-1.2.11n.tar.gz 429934 SHA256 ae114300659267c7e5f9805ba15f7e3f3461613371f38e3f84520a1703146afd SHA512 cfa84e9b2b29b3c0808edbf50a8d63ad0b4a6f59abebdbf8f34146c288c8ecdc0434370ae77bd611dcc8733456bccc365f1c59fc132a594af9e91c68c3d58ee7 WHIRLPOOL 0468cf261276d53dfff77e4a4f8cc994c022791d03f662e59a096b6a23a7f5f4cedf24b3123ff39e44379e43d3b9983bb1778c592f848c082d6eff9ba58ec782
diff --git a/net-libs/libevhtp/libevhtp-1.2.11n.ebuild b/net-libs/libevhtp/libevhtp-1.2.11n.ebuild
new file mode 100644
index 0000000..bbc0a59
--- /dev/null
+++ b/net-libs/libevhtp/libevhtp-1.2.11n.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit cmake-utils
+
+DESCRIPTION="A more flexible replacement for libevent's http EAPI"
+HOMEPAGE="http://ellzey.github.io/libevhtp/"
+SRC_URI="https://github.com/ellzey/libevhtp/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="+ssl"
+
+DEPEND="ssl? ( dev-libs/openssl:0 )
+ dev-libs/libevent[ssl?]
+ dev-libs/oniguruma"
+RDEPEND="${DEPEND}"
+
+src_configure() {
+ local mycmakeargs=(
+ $(usex ssl "" -DEVHTP_DISABLE_SSL=ON) )
+ cmake-utils_src_configure
+}
diff --git a/net-libs/libevhtp/metadata.xml b/net-libs/libevhtp/metadata.xml
new file mode 100644
index 0000000..bfcb697
--- /dev/null
+++ b/net-libs/libevhtp/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>mrueg@gentoo.org</email>
+ <name>Manuel Rüger</name>
+ </maintainer>
+</pkgmetadata>
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [gentoo-commits] dev/mrueg:master commit in: net-libs/libevhtp/
@ 2016-01-11 0:13 Manuel Rüger
0 siblings, 0 replies; 2+ messages in thread
From: Manuel Rüger @ 2016-01-11 0:13 UTC (permalink / raw
To: gentoo-commits
commit: b51c428eb913145559affc22f8cf18242b9e7849
Author: Manuel Rüger <mrueg <AT> gentoo <DOT> org>
AuthorDate: Mon Jan 11 00:12:53 2016 +0000
Commit: Manuel Rüger <mrueg <AT> gentoo <DOT> org>
CommitDate: Mon Jan 11 00:12:53 2016 +0000
URL: https://gitweb.gentoo.org/dev/mrueg.git/commit/?id=b51c428e
net-libs/libevhtp: Install shared object, too
Package-Manager: portage-2.2.26
net-libs/libevhtp/libevhtp-1.2.11n.ebuild | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/net-libs/libevhtp/libevhtp-1.2.11n.ebuild b/net-libs/libevhtp/libevhtp-1.2.11n.ebuild
index bbc0a59..9137d17 100644
--- a/net-libs/libevhtp/libevhtp-1.2.11n.ebuild
+++ b/net-libs/libevhtp/libevhtp-1.2.11n.ebuild
@@ -4,7 +4,7 @@
EAPI=5
-inherit cmake-utils
+inherit cmake-utils multilib
DESCRIPTION="A more flexible replacement for libevent's http EAPI"
HOMEPAGE="http://ellzey.github.io/libevhtp/"
@@ -20,8 +20,14 @@ DEPEND="ssl? ( dev-libs/openssl:0 )
dev-libs/oniguruma"
RDEPEND="${DEPEND}"
+src_prepare() {
+ sed -i -e "s#CMAKE_INSTALL_PREFIX}/lib#CMAKE_INSTALL_PREFIX}/$(get_libdir)#" CMakeLists.txt || die
+}
+
src_configure() {
local mycmakeargs=(
+ -DEVHTP_BUILD_SHARED=ON
$(usex ssl "" -DEVHTP_DISABLE_SSL=ON) )
+
cmake-utils_src_configure
}
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-01-11 0:13 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-11 0:13 [gentoo-commits] dev/mrueg:master commit in: net-libs/libevhtp/ Manuel Rüger
-- strict thread matches above, loose matches on Subject: below --
2016-01-10 19:15 Manuel Rüger
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox