2 # Copyright (C) 2006 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
9 include $(TOPDIR
)/rules.mk
14 PKG_MD5SUM
:=71e6bd13fcca70372e9b7c7806d62b30
16 PKG_SOURCE_URL
:=@SF
/motion
17 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
20 PKG_BUILD_DIR
:=$(BUILD_DIR
)/$(PKG_NAME
)-$(PKG_VERSION
)
21 PKG_INSTALL_DIR
:=$(PKG_BUILD_DIR
)/ipkg-install
23 include $(INCLUDE_DIR
)/package.mk
29 TITLE
:=webcam motion sensing and logging
30 DESCRIPTION
:=Motion is a software motion detector
31 URL
:=http
://www.lavrsen.dk
/twiki
/bin
/view
/Motion
/WebHome
34 define Build
/Configure
35 $(call Build
/Configure
/Default
,--without-ffmpeg \
43 rm -rf
$(PKG_INSTALL_DIR
)
44 mkdir
-p
$(PKG_INSTALL_DIR
)
45 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
46 DESTDIR
="$(PKG_INSTALL_DIR)" \
50 define Package
/motion
/install
51 install -d
-m0755
$(1)/usr
/bin
52 $(CP
) $(PKG_INSTALL_DIR
)/usr
/bin
/motion
$(1)/usr
/bin
/
55 $(eval
$(call BuildPackage
,motion
))