Makefile 1.1 KB

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