@ -1,31 +1,30 @@
i n c l u d e $( TOPDIR ) / r u l e s . m k
PKG_NAME := libwslay
PKG_VERSION := 1.1.0
PKG_RELEASE = 1
PKG_VERSION := 1.1.1
PKG_RELEASE : =1
PKG_SOURCE := release-$( PKG_VERSION) .tar.gz
PKG_SOURCE_URL := https://codeload.github.com/tatsuhiro-t/wslay/tar.gz/release-$( PKG_VERSION) ?
PKG_HASH := df5dca9f03614073cd8bdd22aa3c9b116f841ed3120b2d4463d2382cc44fc594
PKG_HASH := 7b9f4b9df09adaa6e07ec309b68ab376c0db2cfd916613023b52a47adfda224a
PKG_BUILD_DIR := $( BUILD_DIR) /wslay-release-$( PKG_VERSION)
PKG_MAINTAINER := James Taylor <james@jtaylor.id.au>
PKG_LICENSE := MIT
PKG_LICENSE_FILES := COPYING
CMAKE_INSTALL := 1
PKG_BUILD_PARALLEL := 1
PKG_INSTALL := 1
PKG_FIXUP := autoreconf
i n c l u d e $( INCLUDE_DIR ) / p a c k a g e . m k
i n c l u d e $( INCLUDE_DIR ) / c m a k e . m k
d e f i n e P a c k a g e / l i b w s l a y
SECTION:= libs
CATEGORY:= Libraries
TITLE:= Wslay is a WebSocket library written in C
URL:= https://tatsuhiro-t.github.io/wslay/
BUILDONLY:= 1
e n d e f
d e f i n e P a c k a g e / l i b w s l a y / d e s c r i p t i o n
@ -37,20 +36,7 @@ define Package/libwslay/description
handshake in HTTP.
e n d e f
d e f i n e B u i l d / I n s t a l l D e v
$( INSTALL_DIR) $( 1) /usr/include/wslay
$( CP) $( PKG_INSTALL_DIR) /usr/include/wslay/*.h $( 1) /usr/include/wslay/
$( INSTALL_DIR) $( 1) /usr/lib
$( CP) $( PKG_INSTALL_DIR) /usr/lib/libwslay.{ a,so*} $( 1) /usr/lib/
$( INSTALL_DIR) $( 1) /usr/lib/pkgconfig
$( CP) $( PKG_INSTALL_DIR) /usr/lib/pkgconfig/libwslay.pc $( 1) /usr/lib/pkgconfig/
e n d e f
d e f i n e P a c k a g e / l i b w s l a y / i n s t a l l
$( INSTALL_DIR) $( 1) /usr/lib
$( INSTALL_DATA) $( PKG_INSTALL_DIR) /usr/lib/libwslay.so* $( 1) /usr/lib/
e n d e f
CMAKE_OPTIONS += \
-DCMAKE_POSITION_INDEPENDENT_CODE= ON
$( eval $ ( call BuildPackage ,libwslay ) )