X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;f=package%2Fnetwork%2Futils%2Fiwinfo%2FMakefile;h=54bc2ef35728695da137eff5509b2b79db15da61;hb=b13f3300d5a370305d6ecbd71620a4c1c40a166e;hp=699682b95e97df36a597ed5a2b348a1261a4e0ce;hpb=735a03be62e852705f73ebc16f25927d0d6a1f17;p=openwrt%2Fstaging%2Frmilecki.git diff --git a/package/network/utils/iwinfo/Makefile b/package/network/utils/iwinfo/Makefile index 699682b95e9..54bc2ef3572 100644 --- a/package/network/utils/iwinfo/Makefile +++ b/package/network/utils/iwinfo/Makefile @@ -1,5 +1,5 @@ # -# Copyright (C) 2010-2014 Jo-Philipp Wich +# Copyright (C) 2010-2016 Jo-Philipp Wich # # This is free software, licensed under the GPL 2 license. # @@ -7,15 +7,23 @@ include $(TOPDIR)/rules.mk PKG_NAME:=libiwinfo -PKG_RELEASE:=48 +PKG_RELEASE:=1 + +PKG_SOURCE_PROTO:=git +PKG_SOURCE_URL=$(PROJECT_GIT)/project/iwinfo.git +PKG_SOURCE_DATE:=2019-08-28 +PKG_SOURCE_VERSION:=a9f95570341baf2773a71585eef760ad5c257e65 +PKG_MIRROR_HASH:=df86c083c2449cc2e3274922fc04b2563f05ceaea49f24e74ce8cd8bc48c269c +PKG_MAINTAINER:=Jo-Philipp Wich +PKG_LICENSE:=GPL-2.0 + +PKG_FLAGS := nonshared -PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME) PKG_CONFIG_DEPENDS := \ CONFIG_PACKAGE_kmod-brcm-wl \ CONFIG_PACKAGE_kmod-brcm-wl-mini \ CONFIG_PACKAGE_kmod-brcm-wl-mimo \ - CONFIG_PACKAGE_kmod-madwifi \ - CONFIG_PACKAGE_kmod-mac80211 + CONFIG_PACKAGE_kmod-cfg80211 include $(INCLUDE_DIR)/package.mk @@ -24,13 +32,13 @@ define Package/libiwinfo SECTION:=libs CATEGORY:=Libraries TITLE:=Generalized Wireless Information Library (iwinfo) - DEPENDS:=+PACKAGE_kmod-mac80211:libnl-tiny - MAINTAINER:=Jo-Philipp Wich + DEPENDS:=+PACKAGE_kmod-cfg80211:libnl-tiny +libuci +libubus + ABI_VERSION:=20181126 endef define Package/libiwinfo/description Wireless information library with consistent interface for proprietary Broadcom, - madwifi, nl80211 and wext driver interfaces. + nl80211 and wext driver interfaces. endef @@ -40,7 +48,6 @@ define Package/libiwinfo-lua CATEGORY:=Languages TITLE:=libiwinfo Lua binding DEPENDS:=+libiwinfo +liblua - MAINTAINER:=Jo-Philipp Wich endef define Package/libiwinfo-lua/description @@ -54,7 +61,6 @@ define Package/iwinfo CATEGORY:=Utilities TITLE:=Generalized Wireless Information utility DEPENDS:=+libiwinfo - MAINTAINER:=Jo-Philipp Wich endef define Package/iwinfo/description @@ -62,11 +68,6 @@ define Package/iwinfo/description endef -define Build/Prepare - mkdir -p $(PKG_BUILD_DIR) - $(CP) ./src/* $(PKG_BUILD_DIR)/ -endef - define Build/Configure endef @@ -74,8 +75,7 @@ IWINFO_BACKENDS := \ $(if $(CONFIG_PACKAGE_kmod-brcm-wl),wl) \ $(if $(CONFIG_PACKAGE_kmod-brcm-wl-mini),wl) \ $(if $(CONFIG_PACKAGE_kmod-brcm-wl-mimo),wl) \ - $(if $(CONFIG_PACKAGE_kmod-madwifi),madwifi) \ - $(if $(CONFIG_PACKAGE_kmod-mac80211),nl80211) + $(if $(CONFIG_PACKAGE_kmod-cfg80211),nl80211) TARGET_CFLAGS += \ -I$(STAGING_DIR)/usr/include/libnl-tiny \