1 # Copyright (C) 2006 OpenWrt.org
3 # This is free software, licensed under the GNU General Public License v2.
4 # See /LICENSE for more information.
7 include $(TOPDIR)/rules.mk
11 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
13 include $(INCLUDE_DIR)/package.mk
15 define Package/wattsup
18 TITLE:=Wattsup polling utility
22 mkdir -p $(PKG_BUILD_DIR)
23 $(CP) ./src/* $(PKG_BUILD_DIR)/
26 define Package/wattsup/install
27 $(INSTALL_DIR) $(1)/usr/bin/
28 $(INSTALL_BIN) $(PKG_BUILD_DIR)/wattsup $(1)/usr/bin/
31 $(eval $(call BuildPackage,wattsup))