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.
8 include $(TOPDIR
)/rules.mk
14 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
15 PKG_SOURCE_URL
:=@SF
/wx200d
16 PKG_MD5SUM
:=0f90c099dddcdd46ac568d707822ec4c
18 include $(INCLUDE_DIR
)/package.mk
24 TITLE
:=weather station data collector
25 URL
:=http
://wx200d.sourceforge.net
/
28 define Package
/wx200d
/description
29 wx200d is a weather station data collector and server daemon
30 for the WX200
, WM918
, WMR918 and WMR968 weather station
37 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
38 DESTDIR
="$(PKG_INSTALL_DIR)" \
42 define Package
/wx200d
/install
43 $(INSTALL_DIR
) $(1)/usr
/bin
44 $(CP
) $(PKG_INSTALL_DIR
)/usr
/bin
/wx200 \
45 $(PKG_INSTALL_DIR
)/usr
/bin
/wxstdout \
46 $(PKG_INSTALL_DIR
)/usr
/bin
/wxfilter \
47 $(PKG_INSTALL_DIR
)/usr
/bin
/wxdebug \
49 $(INSTALL_DIR
) $(1)/usr
/sbin
/
50 $(CP
) $(PKG_INSTALL_DIR
)/usr
/sbin
/wx200d \
51 $(PKG_INSTALL_DIR
)/usr
/sbin
/wxread \
55 $(eval
$(call BuildPackage
,wx200d
))