Makefile 1.1 KB

123456789101112131415161718192021222324252627282930313233343536
  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_HASH:= ff2931b0af037da126fed3e496430944132528132e71473aae478ff2e7f78e0d
  9. PKG_DESCR:= webcam motion sensing and logging
  10. PKG_SECTION:= mm/video
  11. PKG_DEPENDS:= libjpeg-turbo libsdl
  12. PKG_BUILDDEP:= libjpeg-turbo sdl
  13. PKG_NEEDS:= threads
  14. PKG_URL:= http://www.lavrsen.dk/twiki/bin/view/Motion/WebHome
  15. PKG_SITES:= http://distfiles.openadk.org/
  16. include ${ADK_TOPDIR}/mk/package.mk
  17. $(eval $(call PKG_template,MOTION,motion,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  18. CONFIGURE_ARGS+= --without-ffmpeg \
  19. --without-jpeg-mmx \
  20. --without-optimizecpu \
  21. --without-mysql \
  22. --without-sqlite \
  23. --without-pgsql \
  24. --with-v4l
  25. motion-install:
  26. ${INSTALL_DIR} ${IDIR_MOTION}/etc ${IDIR_MOTION}/usr/bin
  27. $(INSTALL_DATA) ./files/motion.conf ${IDIR_MOTION}/etc
  28. ${INSTALL_BIN} ${WRKINST}/usr/bin/motion ${IDIR_MOTION}/usr/bin
  29. include ${ADK_TOPDIR}/mk/pkg-bottom.mk