2 # Copyright (C) 2008-2009 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
:=http
://www.lavrsen.dk
/sources
/motion-daily \
17 PKG_MD5SUM
:=4e729f129d8f9b9abaed5121c3cd0037
19 include $(INCLUDE_DIR
)/package.mk
24 DEPENDS
:=+libjpeg
+libpthread
25 TITLE
:=webcam motion sensing and logging
26 URL
:=http
://www.lavrsen.dk
/twiki
/bin
/view
/Motion
/WebHome
29 define Package
/motion
/conffiles
40 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
41 DESTDIR
="$(PKG_INSTALL_DIR)" \
45 define Package
/motion
/install
46 $(INSTALL_DIR
) $(1)/etc
47 $(CP
) $(PKG_INSTALL_DIR
)/etc
/motion-dist.conf
$(1)/etc
/motion.conf
48 $(INSTALL_DIR
) $(1)/usr
/bin
49 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/bin
/motion
$(1)/usr
/bin
/
53 $(eval
$(call BuildPackage
,motion
))