[packages] collectd: update to v4.9.0 (#6390, #4704, #5936)
[openwrt/svn-archive/archive.git] / utils / wx200d / Makefile
1 #
2 # Copyright (C) 2006 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=wx200d
11 PKG_VERSION:=1.3
12 PKG_RELEASE:=1
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=@SF/wx200d
16 PKG_MD5SUM:=0f90c099dddcdd46ac568d707822ec4c
17
18 include $(INCLUDE_DIR)/package.mk
19
20 define Package/wx200d
21 SECTION:=utils
22 CATEGORY:=Utilities
23 DEPENDS:=+libpq
24 TITLE:=weather station data collector
25 URL:=http://wx200d.sourceforge.net/
26 endef
27
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
31 hardware.
32 endef
33
34 # uses GNU configure
35
36 define Build/Compile
37 $(MAKE) -C $(PKG_BUILD_DIR) \
38 DESTDIR="$(PKG_INSTALL_DIR)" \
39 all install
40 endef
41
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 \
48 $(1)/usr/bin/
49 $(INSTALL_DIR) $(1)/usr/sbin/
50 $(CP) $(PKG_INSTALL_DIR)/usr/sbin/wx200d \
51 $(PKG_INSTALL_DIR)/usr/sbin/wxread \
52 $(1)/usr/sbin/
53 endef
54
55 $(eval $(call BuildPackage,wx200d))