[packages] oww: update to 0.86.3 (#13262)
[openwrt/svn-archive/archive.git] / utils / oww / Makefile
1 #
2 # Copyright (C) 2012-2013 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:=oww
11 PKG_VERSION:=0.86.3
12 PKG_RELEASE:=1
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
15 PKG_SOURCE_URL:=@SF/oww
16 PKG_MD5SUM:=c5718745d4ff75566c62b5f407f1f59f
17
18 PKG_BUILD_DEPENDS:=intltool/host
19 PKG_INSTALL:=1
20
21 include $(INCLUDE_DIR)/package.mk
22
23 define Package/oww
24 SECTION:=utils
25 CATEGORY:=Utilities
26 TITLE:=One-wire weather
27 URL:=http://oww.sourceforge.net/
28 DEPENDS:=+libcurl +libusb-compat
29 endef
30
31 define Package/oww/description
32 Oww is a software project, to communicate with the Dallas 1-wire weather
33 station and other 1-wire sensors, presenting live weather readings, logging
34 data to file, uploading data to weather Web sites, and sending data to other
35 programs through a command line interface.
36 endef
37
38 CONFIGURE_ARGS += \
39 --disable-gui
40
41 define Package/oww/install
42 $(INSTALL_DIR) $(1)/etc/init.d
43 $(INSTALL_BIN) ./files/oww.init $(1)/etc/init.d/oww
44 $(INSTALL_DIR) $(1)/usr/bin
45 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/owwnogui $(1)/usr/bin/
46 endef
47
48 $(eval $(call BuildPackage,oww))