libnopoll: noPoll C WebSocket library 0.4.2
Signed-off-by: John Clark <inindev@gmail.com> Tested-by: John Clark <inindev@gmail.com>
This commit is contained in:
parent
7c4724df38
commit
d57cfa8ee0
1 changed files with 58 additions and 0 deletions
58
libs/libnopoll/Makefile
Normal file
58
libs/libnopoll/Makefile
Normal file
|
@ -0,0 +1,58 @@
|
|||
#
|
||||
# libnopoll - Makefile for noPoll C WebSocket library
|
||||
#
|
||||
# This is free software, licensed under the GNU General Public License v2.
|
||||
# See /LICENSE for more information.
|
||||
#
|
||||
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=nopoll
|
||||
PKG_VERSION:=0.4.2
|
||||
PKG_RELEASE:=1
|
||||
|
||||
PKG_SOURCE_PROTO:=git
|
||||
PKG_SOURCE_URL:=https://github.com/ASPLes/nopoll.git
|
||||
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
|
||||
PKG_SOURCE_VERSION:=60a81fbd199551ac5dd017b9a44fb46e8530680b
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz
|
||||
|
||||
PKG_MAINTAINER:=John Clark <inindev@gmail.com>
|
||||
|
||||
PKG_FIXUP:=autoreconf
|
||||
PKG_INSTALL:=1
|
||||
PKG_BUILD_PARALLEL:=1
|
||||
|
||||
PKG_LICENSE:=LGPL-2.1
|
||||
PKG_LICENSE_FILES:=COPYING
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
|
||||
define Package/libnopoll
|
||||
SECTION:=libs
|
||||
CATEGORY:=Libraries
|
||||
DEPENDS:=+libopenssl
|
||||
TITLE:=noPoll C WebSocket Library
|
||||
URL:=http://www.aspl.es/nopoll
|
||||
endef
|
||||
|
||||
define Package/libnopoll/description
|
||||
This package contains the noPoll C WebSocket library.
|
||||
endef
|
||||
|
||||
CONFIGURE_ARGS += \
|
||||
--enable-nopoll-log=no \
|
||||
--enable-nopoll-doc=no
|
||||
|
||||
define Build/InstallDev
|
||||
$(INSTALL_DIR) $(1)/usr/{lib,include}
|
||||
$(CP) $(PKG_INSTALL_DIR)/usr/include/* $(1)/usr/include/
|
||||
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libnopoll.{a,so*} $(1)/usr/lib/
|
||||
endef
|
||||
|
||||
define Package/libnopoll/install
|
||||
$(INSTALL_DIR) $(1)/usr/lib
|
||||
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libnopoll.so* $(1)/usr/lib/
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,libnopoll))
|
Loading…
Reference in a new issue