-$(IPKG_SERVER): $(PKG_BUILD_DIR)/kismet_server
- $(SCRIPT_DIR)/make-ipkg-dir.sh $(IDIR_SERVER) kismet-server.control $(PKG_VERSION)-$(PKG_RELEASE) $(ARCH)
- mkdir -p $(IDIR_SERVER)/etc
- cp ./files/ap_manuf $(IDIR_SERVER)/etc/
- cp ./files/client_manuf $(IDIR_SERVER)/etc/
- cp ./files/kismet.conf $(IDIR_SERVER)/etc/
- echo '/etc/kismet.conf' > $(IDIR_SERVER)/CONTROL/conffiles
- echo '/etc/ap_manuf' >> $(IDIR_SERVER)/CONTROL/conffiles
- echo '/etc/client_manuf' >> $(IDIR_SERVER)/CONTROL/conffiles
- mkdir -p $(IDIR_SERVER)/usr/sbin
- cp $< $(IDIR_SERVER)/usr/sbin/
- $(STRIP) $(IDIR_SERVER)/usr/sbin/*
- mkdir -p $(PACKAGE_DIR)
- $(IPKG_BUILD) $(IDIR_SERVER) $(PACKAGE_DIR)
-
-$(INFO_SERVER): $(IPKG_SERVER)
- $(IPKG) install $(IPKG_SERVER)
-
-$(IPKG_DRONE): $(PKG_BUILD_DIR)/kismet_drone
- $(SCRIPT_DIR)/make-ipkg-dir.sh $(IDIR_DRONE) kismet-drone.control $(PKG_VERSION)-$(PKG_RELEASE) $(ARCH)
- mkdir -p $(IDIR_DRONE)/etc
- cp ./files/kismet_drone.conf $(IDIR_DRONE)/etc/
- echo '/etc/kismet_drone.conf' > $(IDIR_DRONE)/CONTROL/conffiles
- mkdir -p $(IDIR_DRONE)/usr/sbin
- cp $< $(IDIR_DRONE)/usr/sbin/
- $(STRIP) $(IDIR_DRONE)/usr/sbin/*
- mkdir -p $(PACKAGE_DIR)
- $(IPKG_BUILD) $(IDIR_DRONE) $(PACKAGE_DIR)
-
-$(INFO_DRONE): $(IPKG_DRONE)
- $(IPKG) install $(IPKG_DRONE)
-
-$(IPKG_CLIENT): $(PKG_BUILD_DIR)/kismet_client
- $(SCRIPT_DIR)/make-ipkg-dir.sh $(IDIR_CLIENT) kismet-client.control $(PKG_VERSION)-$(PKG_RELEASE) $(ARCH)
- mkdir -p $(IDIR_CLIENT)/etc
- cp ./files/ap_manuf $(IDIR_CLIENT)/etc/
- cp ./files/client_manuf $(IDIR_CLIENT)/etc/
- cp ./files/kismet.conf $(IDIR_CLIENT)/etc/
- cp ./files/kismet_ui.conf $(IDIR_CLIENT)/etc/
- echo '/etc/kismet.conf' > $(IDIR_CLIENT)/CONTROL/conffiles
- echo '/etc/kismet_ui.conf' >> $(IDIR_CLIENT)/CONTROL/conffiles
- echo '/etc/ap_manuf' >> $(IDIR_CLIENT)/CONTROL/conffiles
- echo '/etc/client_manuf' >> $(IDIR_CLIENT)/CONTROL/conffiles
- mkdir -p $(IDIR_CLIENT)/usr/sbin
- cp $< $(IDIR_CLIENT)/usr/sbin/
- $(STRIP) $(IDIR_CLIENT)/usr/sbin/*
- mkdir -p $(PACKAGE_DIR)
- $(IPKG_BUILD) $(IDIR_CLIENT) $(PACKAGE_DIR)
-
-$(INFO_CLIENT): $(IPKG_CLIENT)
- $(IPKG) install $(IPKG_CLIENT)
-
-source: $(DL_DIR)/$(PKG_SOURCE)
-prepare: $(PKG_BUILD_DIR)/.prepared
-compile: $(COMPILE_TARGETS)
-install: $(INSTALL_TARGETS)
-
-clean:
- rm -rf $(PKG_BUILD_DIR) $(IPKG_KISMET)