summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-libs/libwebsockets')
-rw-r--r--net-libs/libwebsockets/Manifest4
-rw-r--r--net-libs/libwebsockets/libwebsockets-1.23.ebuild36
-rw-r--r--net-libs/libwebsockets/libwebsockets-9999.ebuild17
-rw-r--r--net-libs/libwebsockets/metadata.xml11
4 files changed, 19 insertions, 49 deletions
diff --git a/net-libs/libwebsockets/Manifest b/net-libs/libwebsockets/Manifest
index 41e6361..8d5e48a 100644
--- a/net-libs/libwebsockets/Manifest
+++ b/net-libs/libwebsockets/Manifest
@@ -1,2 +1,2 @@
-EBUILD libwebsockets-1.23.ebuild 743 SHA256 a55144abb2ebcd52bc633727b93f4e6cf5b2451571b4dae833d22a3ed9b57b85 SHA512 6e68b3245968a2d8515ee9e35640c413e799f7730059d451b8f66d5f5268be6fdd87e3f0fe74758f3b59b63311f61333151af0fe153ba0653025325660caaaf6 WHIRLPOOL ae1f8cdf5bd9c8efda9ca199deaf9c235d9b5dcd420e0cccc5e43ffe0222299de3673d0c126ad851a2fc0047c72194936603fcfd9b6f4362bd76782dbf957c9e
-EBUILD libwebsockets-9999.ebuild 743 SHA256 a55144abb2ebcd52bc633727b93f4e6cf5b2451571b4dae833d22a3ed9b57b85 SHA512 6e68b3245968a2d8515ee9e35640c413e799f7730059d451b8f66d5f5268be6fdd87e3f0fe74758f3b59b63311f61333151af0fe153ba0653025325660caaaf6 WHIRLPOOL ae1f8cdf5bd9c8efda9ca199deaf9c235d9b5dcd420e0cccc5e43ffe0222299de3673d0c126ad851a2fc0047c72194936603fcfd9b6f4362bd76782dbf957c9e
+EBUILD libwebsockets-9999.ebuild 597 SHA256 4f62e532ad0fdabd3278c19cce14aae869de8785007f9f03bd358ac7e1f625ae SHA512 75345fdce298ec2a170ee974e38c96b965d7fa9fa4fb422d323671fc930eedf6a9c025c179e4bf162639e38b9e1aebbf98d0624dd128492a453bd475f4144bc8 WHIRLPOOL 124b89470723e6dd6cba9014c98b7d7c175afd078ee439432ac8309d54dea9d1fa56fa67fb65b35f6aeb425bc9d675b539cf0de0a6a562fa482a010f0011920f
+MISC metadata.xml 442 SHA256 ede51dc4b99d9509f4b625f3023e4905447c529bc9fbdbce1448798928980756 SHA512 9532a54833da35adaa3346906f354d960d849072e5bcf2d24435051d69828f8aa5160eb4e3333242696543e2e9a5cbc21250f9afe27eabd3bac84468dffefd39 WHIRLPOOL fb2dec89055ec26bc171a0c818925a3324114383f0ae829440b0c7bde74b3e08ce214062bf74d3a6329297774590d18c2a7cd03e1a2bca1fffa4ff12b56369a6
diff --git a/net-libs/libwebsockets/libwebsockets-1.23.ebuild b/net-libs/libwebsockets/libwebsockets-1.23.ebuild
deleted file mode 100644
index 85946d0..0000000
--- a/net-libs/libwebsockets/libwebsockets-1.23.ebuild
+++ /dev/null
@@ -1,36 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI=5
-
-EGIT_REPO_URI="git://git.libwebsockets.org/libwebsockets"
-
-inherit git-2 cmake-utils
-
-DESCRIPTION="Lightweight pure C library for websockets api."
-HOMEPAGE="http://libwebsockets.org/trac/libwebsockets"
-if [[ ${PV} == 9999* ]]; then
- EGIT_BRANCH="master"
- KEYWORDS=""
-else
- EGIT_BRANCH="v1.23-chrome32-firefox24"
- KEYWORDS="~x86 ~amd64"
-fi
-
-
-SRC_URI=""
-
-LICENSE="LGPL-2-with-linking-exception"
-SLOT="0"
-IUSE="openssl"
-DEPEND="openssl? ( dev-libs/openssl )"
-RDEPEND="${DEPEND}"
-
-src_configure() {
- local mycmakeargs=(
- $(cmake-utils_use_with openssl SSL)
- )
- cmake-utils_src_configure
-}
-
diff --git a/net-libs/libwebsockets/libwebsockets-9999.ebuild b/net-libs/libwebsockets/libwebsockets-9999.ebuild
index 85946d0..610aeb0 100644
--- a/net-libs/libwebsockets/libwebsockets-9999.ebuild
+++ b/net-libs/libwebsockets/libwebsockets-9999.ebuild
@@ -9,27 +9,22 @@ EGIT_REPO_URI="git://git.libwebsockets.org/libwebsockets"
inherit git-2 cmake-utils
DESCRIPTION="Lightweight pure C library for websockets api."
-HOMEPAGE="http://libwebsockets.org/trac/libwebsockets"
-if [[ ${PV} == 9999* ]]; then
- EGIT_BRANCH="master"
- KEYWORDS=""
-else
- EGIT_BRANCH="v1.23-chrome32-firefox24"
- KEYWORDS="~x86 ~amd64"
-fi
+HOMEPAGE="https://libwebsockets.org"
+EGIT_BRANCH="master"
+KEYWORDS=""
SRC_URI=""
LICENSE="LGPL-2-with-linking-exception"
SLOT="0"
-IUSE="openssl"
-DEPEND="openssl? ( dev-libs/openssl )"
+IUSE="ssl"
+DEPEND="ssl? ( dev-libs/openssl )"
RDEPEND="${DEPEND}"
src_configure() {
local mycmakeargs=(
- $(cmake-utils_use_with openssl SSL)
+ $(cmake-utils_use_with ssl SSL)
)
cmake-utils_src_configure
}
diff --git a/net-libs/libwebsockets/metadata.xml b/net-libs/libwebsockets/metadata.xml
new file mode 100644
index 0000000..4d7c1d4
--- /dev/null
+++ b/net-libs/libwebsockets/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <longdescription lang="en">
+ Libwebsockets is a lightweight pure C library built to use minimal CPU and memory resources, and provide fast throughput in both directions as client or server.
+ </longdescription>
+ <use>
+ <flag name="ssl">Enable SSL support
+ <pkg>dev-libs/openssl</pkg></flag>
+ </use>
+</pkgmetadata>