2 # Copyright (C) 2006 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
9 include $(TOPDIR)/rules.mk
15 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
16 PKG_SOURCE_URL:=@SF/wx200d
17 PKG_MD5SUM:=0f90c099dddcdd46ac568d707822ec4c
20 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
21 PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install
23 include $(INCLUDE_DIR)/package.mk
29 TITLE:=weather station data collector
30 URL:=http://wx200d.sourceforge.net/
33 define Package/wx200d/description
34 wx200d is a weather station data collector and server daemon
35 for the WX200, WM918, WMR918 and WMR968 weather station
42 $(MAKE) -C $(PKG_BUILD_DIR) \
43 DESTDIR="$(PKG_INSTALL_DIR)" \
47 define Package/wx200d/install
48 $(INSTALL_DIR) $(1)/usr/bin
49 $(CP) $(PKG_INSTALL_DIR)/usr/bin/wx200 \
50 $(PKG_INSTALL_DIR)/usr/bin/wxstdout \
51 $(PKG_INSTALL_DIR)/usr/bin/wxfilter \
52 $(PKG_INSTALL_DIR)/usr/bin/wxdebug \
54 $(INSTALL_DIR) $(1)/usr/sbin/
55 $(CP) $(PKG_INSTALL_DIR)/usr/sbin/wx200d \
56 $(PKG_INSTALL_DIR)/usr/sbin/wxread \
60 $(eval $(call BuildPackage,wx200d))