X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/023a3a77a9f67c6432763bfcbd1243cf003055a2..65157ef12a8118a41bf16f73e2c03ba1bc9da7a3:/openwrt/package/kismet/Makefile?ds=inline diff --git a/openwrt/package/kismet/Makefile b/openwrt/package/kismet/Makefile index 0f9c0cd26..e1ee6c27c 100644 --- a/openwrt/package/kismet/Makefile +++ b/openwrt/package/kismet/Makefile @@ -16,6 +16,7 @@ PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install include $(TOPDIR)/package/rules.mk +$(eval $(call PKG_template,KISMET,kismet,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH))) $(eval $(call PKG_template,KISMET_CLIENT,kismet-client,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH))) $(eval $(call PKG_template,KISMET_DRONE,kismet-drone,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH))) $(eval $(call PKG_template,KISMET_SERVER,kismet-server,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH))) @@ -59,6 +60,11 @@ $(PKG_BUILD_DIR)/.built: CPPFLAGS="-I$(STAGING_DIR)/include -I$(STAGING_DIR)/usr/include -I$(LINUX_DIR)/include" touch $@ +$(IPKG_KISMET): + install -d -m0755 $(IDIR_KISMET)/usr/bin/ + cp -fpR $(PKG_BUILD_DIR)/scripts/kismet $(IDIR_KISMET)/usr/bin/ + $(IPKG_BUILD) $(IDIR_KISMET) $(PACKAGE_DIR) + $(IPKG_KISMET_CLIENT): install -d -m0755 $(IDIR_KISMET_CLIENT)/etc/kismet/ install -m0644 ./files/ap_manuf $(IDIR_KISMET_CLIENT)/etc/kismet/