mirror of
https://github.com/openwrt/openwrt.git
synced 2025-01-21 12:05:23 +00:00
iwinfo: update to latest Git HEAD and move device info into -data package
a0a0e02 iwinfo: rename hardware.txt to devices.txt Also split common devices.txt (former hardware.txt) into a common libiwinfo-data package to allow different libiwinfo versions to coexist without file clashes. Signed-off-by: Jo-Philipp Wich <jo@mein.io> Signed-off-by: maurerr <mariusd84@gmail.com>
This commit is contained in:
parent
993adc37f1
commit
f11d18fd0b
@ -7,13 +7,13 @@
|
|||||||
include $(TOPDIR)/rules.mk
|
include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=libiwinfo
|
PKG_NAME:=libiwinfo
|
||||||
PKG_RELEASE:=2
|
PKG_RELEASE:=1
|
||||||
|
|
||||||
PKG_SOURCE_PROTO:=git
|
PKG_SOURCE_PROTO:=git
|
||||||
PKG_SOURCE_URL=$(PROJECT_GIT)/project/iwinfo.git
|
PKG_SOURCE_URL=$(PROJECT_GIT)/project/iwinfo.git
|
||||||
PKG_SOURCE_DATE:=2021-06-28
|
PKG_SOURCE_DATE:=2021-07-11
|
||||||
PKG_SOURCE_VERSION:=c9b1672f5a83c8dcb14fdbaee651f775a7defe52
|
PKG_SOURCE_VERSION:=a0a0e02dd91d14a50155390d5fd3b95d6ec87bf4
|
||||||
PKG_MIRROR_HASH:=f33779035153da6bd0b2f100f402f62f1554ab87ed6fbbd938d41df6b9947a1f
|
PKG_MIRROR_HASH:=7b4f745c2cace836e57bd116399973d9ac32cee7f98d4628a17395caa3d0cebc
|
||||||
PKG_MAINTAINER:=Jo-Philipp Wich <jo@mein.io>
|
PKG_MAINTAINER:=Jo-Philipp Wich <jo@mein.io>
|
||||||
PKG_LICENSE:=GPL-2.0
|
PKG_LICENSE:=GPL-2.0
|
||||||
|
|
||||||
@ -26,7 +26,7 @@ define Package/libiwinfo
|
|||||||
SECTION:=libs
|
SECTION:=libs
|
||||||
CATEGORY:=Libraries
|
CATEGORY:=Libraries
|
||||||
TITLE:=Generalized Wireless Information Library (iwinfo)
|
TITLE:=Generalized Wireless Information Library (iwinfo)
|
||||||
DEPENDS:=+libnl-tiny +libuci +libubus
|
DEPENDS:=+libnl-tiny +libuci +libubus +libiwinfo-data
|
||||||
ABI_VERSION:=$(IWINFO_ABI_VERSION)
|
ABI_VERSION:=$(IWINFO_ABI_VERSION)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
@ -50,6 +50,12 @@ define Package/libiwinfo-lua/description
|
|||||||
endef
|
endef
|
||||||
|
|
||||||
|
|
||||||
|
define Package/libiwinfo-data
|
||||||
|
TITLE:=libiwinfo Lua binding
|
||||||
|
HIDDEN:=1
|
||||||
|
endef
|
||||||
|
|
||||||
|
|
||||||
define Package/iwinfo
|
define Package/iwinfo
|
||||||
SECTION:=utils
|
SECTION:=utils
|
||||||
CATEGORY:=Utilities
|
CATEGORY:=Utilities
|
||||||
@ -90,8 +96,6 @@ endef
|
|||||||
define Package/libiwinfo/install
|
define Package/libiwinfo/install
|
||||||
$(INSTALL_DIR) $(1)/usr/lib
|
$(INSTALL_DIR) $(1)/usr/lib
|
||||||
$(INSTALL_BIN) $(PKG_BUILD_DIR)/libiwinfo.so.$(IWINFO_ABI_VERSION) $(1)/usr/lib/libiwinfo.so.$(IWINFO_ABI_VERSION)
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/libiwinfo.so.$(IWINFO_ABI_VERSION) $(1)/usr/lib/libiwinfo.so.$(IWINFO_ABI_VERSION)
|
||||||
$(INSTALL_DIR) $(1)/usr/share/libiwinfo
|
|
||||||
$(INSTALL_DATA) $(PKG_BUILD_DIR)/hardware.txt $(1)/usr/share/libiwinfo/hardware.txt
|
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/libiwinfo-lua/install
|
define Package/libiwinfo-lua/install
|
||||||
@ -99,6 +103,11 @@ define Package/libiwinfo-lua/install
|
|||||||
$(INSTALL_BIN) $(PKG_BUILD_DIR)/iwinfo.so $(1)/usr/lib/lua/iwinfo.so
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/iwinfo.so $(1)/usr/lib/lua/iwinfo.so
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
define Package/libiwinfo-data/install
|
||||||
|
$(INSTALL_DIR) $(1)/usr/share/libiwinfo
|
||||||
|
$(INSTALL_DATA) $(PKG_BUILD_DIR)/devices.txt $(1)/usr/share/libiwinfo/devices.txt
|
||||||
|
endef
|
||||||
|
|
||||||
define Package/iwinfo/install
|
define Package/iwinfo/install
|
||||||
$(INSTALL_DIR) $(1)/usr/bin
|
$(INSTALL_DIR) $(1)/usr/bin
|
||||||
$(INSTALL_BIN) $(PKG_BUILD_DIR)/iwinfo $(1)/usr/bin/iwinfo
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/iwinfo $(1)/usr/bin/iwinfo
|
||||||
@ -106,4 +115,5 @@ endef
|
|||||||
|
|
||||||
$(eval $(call BuildPackage,libiwinfo))
|
$(eval $(call BuildPackage,libiwinfo))
|
||||||
$(eval $(call BuildPackage,libiwinfo-lua))
|
$(eval $(call BuildPackage,libiwinfo-lua))
|
||||||
|
$(eval $(call BuildPackage,libiwinfo-data))
|
||||||
$(eval $(call BuildPackage,iwinfo))
|
$(eval $(call BuildPackage,iwinfo))
|
||||||
|
Loading…
Reference in New Issue
Block a user