blob: ec5d316a0c85c8640f3c3b0c5c3beb86a88b20fa (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
#
# Copyright (C) 2012-2013 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=oww
PKG_VERSION:=0.86.4
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=@SF/oww
PKG_MD5SUM:=6420fe19bc230e86f3fb0de74f1c6193
PKG_BUILD_DEPENDS:=intltool/host
PKG_INSTALL:=1
include $(INCLUDE_DIR)/package.mk
define Package/oww
SECTION:=utils
CATEGORY:=Utilities
TITLE:=One-wire weather
URL:=http://oww.sourceforge.net/
DEPENDS:=+libcurl +libusb-compat
endef
define Package/oww/description
Oww is a software project, to communicate with the Dallas 1-wire weather
station and other 1-wire sensors, presenting live weather readings, logging
data to file, uploading data to weather Web sites, and sending data to other
programs through a command line interface.
endef
CONFIGURE_ARGS += \
--disable-gui
define Package/oww/install
$(INSTALL_DIR) $(1)/etc/init.d
$(INSTALL_BIN) ./files/oww.init $(1)/etc/init.d/oww
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/owwnogui $(1)/usr/bin/
endef
$(eval $(call BuildPackage,oww))
|