1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include $(ADK_TOPDIR
)/rules.mk
6 PKG_NAME
:= libwebsockets
9 PKG_HASH
:= 6fd33527b410a37ebc91bb64ca51bdabab12b076bc99d153d7c5dd405e4bdf90
10 PKG_DESCR
:= lightweight network library
11 PKG_SECTION
:= libs
/net
12 PKG_BUILDDEP
:= cmake-host zlib libressl
13 PKG_DEPENDS
:= zlib libressl
14 PKG_URL
:= https
://libwebsockets.org
/
15 PKG_SITES
:= https
://github.com
/warmcat
/libwebsockets
/archive
/refs
/tags/
18 DISTFILES
:= v
$(PKG_VERSION
).
tar.gz
20 include $(ADK_TOPDIR
)/mk
/package.mk
22 $(eval
$(call PKG_template
,LIBWEBSOCKETS
,libwebsockets
,$(PKG_VERSION
)-$(PKG_RELEASE
),$(PKG_DEPENDS
),$(PKG_DESCR
),$(PKG_SECTION
),$(PKG_OPTS
)))
26 libwebsockets-install
:
27 $(INSTALL_DIR
) $(IDIR_LIBWEBSOCKETS
)/usr
/lib
28 $(CP
) $(WRKINST
)/usr
/lib
/libwebsockets
*.so
* \
29 $(IDIR_LIBWEBSOCKETS
)/usr
/lib
31 include $(ADK_TOPDIR
)/mk
/pkg-bottom.mk