2 # Copyright (C) 2012-2013 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
/oww
16 PKG_MD5SUM
:=6420fe19bc230e86f3fb0de74f1c6193
18 PKG_BUILD_DEPENDS
:=intltool
/host
21 include $(INCLUDE_DIR
)/package.mk
26 TITLE
:=One-wire weather
27 URL
:=http
://oww.sourceforge.net
/
28 DEPENDS
:=+libcurl
+libusb-compat
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.
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
/
48 $(eval
$(call BuildPackage
,oww
))