From patchwork Fri Dec 12 15:42:45 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gregory Dymarek X-Patchwork-Id: 420527 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from fraxinus.osuosl.org (fraxinus.osuosl.org [140.211.166.137]) by ozlabs.org (Postfix) with ESMTP id B947B14011B for ; Sat, 13 Dec 2014 02:43:16 +1100 (AEDT) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 233F6A2BA1; Fri, 12 Dec 2014 15:43:14 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id hZoVO_h0yA9T; Fri, 12 Dec 2014 15:43:12 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 246A4A2BC3; Fri, 12 Dec 2014 15:43:09 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from silver.osuosl.org (silver.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id DC2F81C25CD for ; Fri, 12 Dec 2014 15:43:05 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id CC4B134196 for ; Fri, 12 Dec 2014 15:43:05 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0yxrmWM-XpJo for ; Fri, 12 Dec 2014 15:43:05 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wg0-f52.google.com (mail-wg0-f52.google.com [74.125.82.52]) by silver.osuosl.org (Postfix) with ESMTPS id AD6093419A for ; Fri, 12 Dec 2014 15:43:04 +0000 (UTC) Received: by mail-wg0-f52.google.com with SMTP id x12so9387317wgg.11 for ; Fri, 12 Dec 2014 07:43:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=2//FUqlC5ZTGHNl9Un2fqp7s8SpBFzcGJggO0nEzgCk=; b=uG3O2bW9oAPstv5HgDw8wuHe2n1Xukt7VGAvwvWdWMYcMh7ED80ruvvMlc6csPo6BR O5ap5nQ1FsrBmhpYk1ig5yJ751fD9W25IoypFghdhpCCoxUiFYoGAUnk5p50LJ0v7Wfw v5FT5xJTQLB+MdD7Qpe+N4jYQSO55Lyp9App9GWVqKnCYtXASd8oeZ+9KcXr7P8TKL35 9lTYqOMhLY2+MxqYIeAhYJVFKES4VvQ8UrVvcitAByIf8IS7xIsa6nNqtlaqVDYBXI5U vZk6+t23DZ7a6mWoJ1V2IVJ2NP4joG56NdUgI4lIRFZTmpWLK7sZpepj21Mtd1PlDT5f tpNw== X-Received: by 10.194.191.227 with SMTP id hb3mr28791437wjc.79.1418398983277; Fri, 12 Dec 2014 07:43:03 -0800 (PST) Received: from lubuntu-mac.localdomain (cpc20-sgyl29-2-0-cust6.18-2.cable.virginm.net. [80.192.47.7]) by mx.google.com with ESMTPSA id dp8sm2338514wib.20.2014.12.12.07.43.01 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 12 Dec 2014 07:43:02 -0800 (PST) From: Gregory Dymarek To: buildroot@buildroot.org Date: Fri, 12 Dec 2014 15:42:45 +0000 Message-Id: <1418398967-2183-6-git-send-email-gregd72002@gmail.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1418398967-2183-1-git-send-email-gregd72002@gmail.com> References: <1418398967-2183-1-git-send-email-gregd72002@gmail.com> Subject: [Buildroot] [PATCH v2 5/7] Adding libwebsock X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Signed-off-by: Gregory Dymarek --- package/Config.in | 1 + package/libwebsock/Config.in | 6 ++++++ package/libwebsock/libwebsock.hash | 1 + package/libwebsock/libwebsock.mk | 22 ++++++++++++++++++++++ 4 files changed, 30 insertions(+) create mode 100644 package/libwebsock/Config.in create mode 100644 package/libwebsock/libwebsock.hash create mode 100644 package/libwebsock/libwebsock.mk diff --git a/package/Config.in b/package/Config.in index 501f505..77430b9 100644 --- a/package/Config.in +++ b/package/Config.in @@ -851,6 +851,7 @@ menu "Networking" source "package/libupnpp/Config.in" source "package/liburiparser/Config.in" source "package/libvncserver/Config.in" + source "package/libwebsock/Config.in" source "package/libwebsockets/Config.in" source "package/neon/Config.in" source "package/nss-mdns/Config.in" diff --git a/package/libwebsock/Config.in b/package/libwebsock/Config.in new file mode 100644 index 0000000..427b3fd --- /dev/null +++ b/package/libwebsock/Config.in @@ -0,0 +1,6 @@ +config BR2_PACKAGE_LIBWEBSOCK + bool "libwebsock" + select BR2_PACKAGE_LIBEVENT + help + Adds libwebsock + https://github.com/payden/libwebsock diff --git a/package/libwebsock/libwebsock.hash b/package/libwebsock/libwebsock.hash new file mode 100644 index 0000000..2250c09 --- /dev/null +++ b/package/libwebsock/libwebsock.hash @@ -0,0 +1 @@ +sha256,ac459d1de0205f8aedf2fd10a48cb02a06acb127c3403001670a839502e02afd diff --git a/package/libwebsock/libwebsock.mk b/package/libwebsock/libwebsock.mk new file mode 100644 index 0000000..f82b553 --- /dev/null +++ b/package/libwebsock/libwebsock.mk @@ -0,0 +1,22 @@ +############################################################# +# +# libwebsock +# +############################################################# +LIBWEBSOCK_VERSION = 3c1615eeadb0b582b63851073bfe3e5132f31ebc +LIBWEBSOCK_SITE_METHOD = git +LIBWEBSOCK_SITE = https://github.com/payden/libwebsock.git +LIBWEBSOCK_DEPENDENCIES = libevent +LIBWEBSOCK_AUTORECONF = YES +LIBWEBSOCK_INSTALL_STAGING = YES +LIBWEBSOCK_LICENSE = LGPLv3 +LIBWEBSOCK_LICENSE_FILES = COPYING + +LIBWEBSOCK_CFLAGS = $(TARGET_CFLAGS) +LIBWEBSOCK_LIBS += -lpthread -levent + +LIBWEBSOCK_CONF_ENV += \ + CFLAGS="$(LIBWEBSOCK_CFLAGS)" \ + LIBS="$(LIBWEBSOCK_LIBS)" + +$(eval $(autotools-package))