summaryrefslogtreecommitdiffhomepage
path: root/contrib/package
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2019-01-24 12:18:33 +0100
committerJo-Philipp Wich <jo@mein.io>2019-01-24 12:24:51 +0100
commitc8e95785869ebb2862b524b96568f2ea20ce9b8c (patch)
tree0c792119a3983078de75b7e26d3a24da0aa35614 /contrib/package
parent61b9f7af8f3b788e5e01e61949799848a94e0670 (diff)
lucihttp: update to latest Git HEAD
1afbdcc build: add soversion to library Also adjust ABI_VERSION and install recipe accordingly. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'contrib/package')
-rw-r--r--contrib/package/lucihttp/Makefile17
1 files changed, 12 insertions, 5 deletions
diff --git a/contrib/package/lucihttp/Makefile b/contrib/package/lucihttp/Makefile
index 408994435a..fd448e0fcd 100644
--- a/contrib/package/lucihttp/Makefile
+++ b/contrib/package/lucihttp/Makefile
@@ -5,9 +5,9 @@ PKG_RELEASE:=1
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL=https://github.com/jow-/lucihttp.git
-PKG_SOURCE_DATE:=2018-05-18
-PKG_SOURCE_VERSION:=cb119deddee5f0f8f1da883b20c60aea7611b175
-PKG_MIRROR_HASH:=573a20817c73344b17c8fa1b8112f14af9dccc25fef017ae072ecd09140cf9e1
+PKG_SOURCE_DATE:=2019-01-24
+PKG_SOURCE_VERSION:=1afbdcc31016fac9e85285d032d27184db884bfd
+PKG_MIRROR_HASH:=7fe11f0e0cb6dc810a47c708d38865124324660a8986305d299f5b8d771fc5e9
CMAKE_INSTALL:=1
PKG_LICENSE:=ISC
@@ -22,8 +22,8 @@ include $(INCLUDE_DIR)/cmake.mk
define Package/liblucihttp
SECTION:=libs
CATEGORY:=Libraries
- ABI_VERSION:=$(PKG_VERSION)
TITLE:=LuCI HTTP utility library
+ ABI_VERSION:=0
endef
define Package/liblucihttp-lua
@@ -40,9 +40,16 @@ CMAKE_OPTIONS = \
-DBUILD_LUA=$(if $(CONFIG_PACKAGE_liblucihttp-lua),ON,OFF) \
-DBUILD_TESTS=OFF
+define Build/InstallDev
+ $(INSTALL_DIR) $(1)/usr/lib
+ $(INSTALL_DIR) $(1)/usr/include
+ $(CP) $(PKG_INSTALL_DIR)/usr/lib/liblucihttp.so* $(1)/usr/lib/
+ $(CP) $(PKG_INSTALL_DIR)/usr/include/* $(1)/usr/include/
+endef
+
define Package/liblucihttp/install
$(INSTALL_DIR) $(1)/usr/lib
- $(CP) $(PKG_INSTALL_DIR)/usr/lib/liblucihttp.so $(1)/usr/lib/
+ $(CP) $(PKG_INSTALL_DIR)/usr/lib/liblucihttp.so.* $(1)/usr/lib/
endef
define Package/liblucihttp-lua/install