use right device name for /data
[openadk.git] / package / motion / Makefile
blob4e2c7d4f7bd5d0bd4eb41ea1a45f3d43a2abcc2f
1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include ${ADK_TOPDIR}/rules.mk
6 PKG_NAME:= motion
7 # actually a svn version from 25.06.2014 checkout
8 PKG_VERSION:= 4.0
9 PKG_RELEASE:= 2
10 PKG_HASH:= ff2931b0af037da126fed3e496430944132528132e71473aae478ff2e7f78e0d
11 PKG_DESCR:= webcam motion sensing and logging
12 PKG_SECTION:= mm/video
13 PKG_DEPENDS:= libjpeg-turbo libsdl
14 PKG_BUILDDEP:= libjpeg-turbo sdl
15 PKG_NEEDS:= threads
16 PKG_URL:= http://www.lavrsen.dk/twiki/bin/view/Motion/WebHome
17 PKG_SITES:= http://distfiles.openadk.org/
19 include ${ADK_TOPDIR}/mk/package.mk
21 $(eval $(call PKG_template,MOTION,motion,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
23 CONFIGURE_ARGS+= --without-ffmpeg \
24 --without-jpeg-mmx \
25 --without-optimizecpu \
26 --without-mysql \
27 --without-sqlite \
28 --without-pgsql \
29 --with-v4l
31 motion-install:
32 ${INSTALL_DIR} ${IDIR_MOTION}/etc ${IDIR_MOTION}/usr/bin
33 $(INSTALL_DATA) ./files/motion.conf ${IDIR_MOTION}/etc
34 ${INSTALL_BIN} ${WRKINST}/usr/bin/motion ${IDIR_MOTION}/usr/bin
36 include ${ADK_TOPDIR}/mk/pkg-bottom.mk