2 # Copyright (C) 2008-2011 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
:=20110826-051001
14 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
15 PKG_SOURCE_URL
:=http
://www.lavrsen.dk
/sources
/motion-daily \
17 PKG_MD5SUM
:=e703fce57ae2215cb05f25e3027f5818
21 include $(INCLUDE_DIR
)/package.mk
26 DEPENDS
:=+libjpeg
+libpthread
27 TITLE
:=webcam motion sensing and logging
28 URL
:=http
://www.lavrsen.dk
/twiki
/bin
/view
/Motion
/WebHome
31 define Package
/motion
/conffiles
36 --without-optimizecpu \
44 define Package
/motion
/install
45 $(INSTALL_DIR
) $(1)/etc
46 $(CP
) $(PKG_INSTALL_DIR
)/etc
/motion-dist.conf
$(1)/etc
/motion.conf
47 $(INSTALL_DIR
) $(1)/usr
/bin
48 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/bin
/motion
$(1)/usr
/bin
/
52 $(eval
$(call BuildPackage
,motion
))