2 # Copyright (C) 2008-2016 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
11 PKG_VERSION
=3.4.0-20141018-$(PKG_SOURCE_VERSION
)
14 PKG_MAINTAINER
:=Roger D
<rogerdammit@gmail.com
>
16 PKG_LICENSE_FILES
:=COPYING
19 PKG_SOURCE_URL
:=https
://github.com
/Mr-Dave
/motion.git
20 PKG_SOURCE_VERSION
:=9479d910f2149b5558788bb86f97f26522794212
22 PKG_SOURCE_SUBDIR
:=$(PKG_NAME
)-$(PKG_VERSION
)
23 PKG_SOURCE
:=$(PKG_SOURCE_SUBDIR
).
tar.gz
24 PKG_MIRROR_HASH
:=02602c775ec3829dac59aed16ea6b0d78f77a435b9c360db1a05cb27227da97e
25 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_SOURCE_SUBDIR
)
28 include $(INCLUDE_DIR
)/package.mk
33 DEPENDS
:=+libjpeg
+libpthread
34 TITLE
:=webcam motion sensing and logging
35 URL
:=http
://www.lavrsen.dk
/twiki
/bin
/view
/Motion
/WebHome
38 define Package
/motion
/conffiles
43 --without-optimizecpu \
51 define Package
/motion
/install
52 $(INSTALL_DIR
) $(1)/etc
53 $(CP
) $(PKG_BUILD_DIR
)/motion-dist.conf
$(1)/etc
/motion.conf
54 $(INSTALL_DIR
) $(1)/usr
/bin
55 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/motion
$(1)/usr
/bin
/
59 $(eval
$(call BuildPackage
,motion
))