[packages] Use default templates instead of custom reimplementations where applicable
[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 PKG_INSTALL:=1
19
20 include $(INCLUDE_DIR)/package.mk
21
22 define Package/wx200d
23 SECTION:=utils
24 CATEGORY:=Utilities
25 DEPENDS:=+libpq
26 TITLE:=weather station data collector
27 URL:=http://wx200d.sourceforge.net/
28 endef
29
30 define Package/wx200d/description
31 wx200d is a weather station data collector and server daemon
32 for the WX200, WM918, WMR918 and WMR968 weather station
33 hardware.
34 endef
35
36 # uses GNU configure
37
38 define Package/wx200d/install
39 $(INSTALL_DIR) $(1)/usr/bin
40 $(CP) $(PKG_INSTALL_DIR)/usr/bin/wx200 \
41 $(PKG_INSTALL_DIR)/usr/bin/wxstdout \
42 $(PKG_INSTALL_DIR)/usr/bin/wxfilter \
43 $(PKG_INSTALL_DIR)/usr/bin/wxdebug \
44 $(1)/usr/bin/
45 $(INSTALL_DIR) $(1)/usr/sbin/
46 $(CP) $(PKG_INSTALL_DIR)/usr/sbin/wx200d \
47 $(PKG_INSTALL_DIR)/usr/sbin/wxread \
48 $(1)/usr/sbin/
49 endef
50
51 $(eval $(call BuildPackage,wx200d))