Makefile 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839
  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 ${TOPDIR}/rules.mk
  4. PKG_NAME:= motion
  5. # actually a svn version from 18.09.2011 checkout
  6. PKG_VERSION:= 4.0
  7. PKG_RELEASE:= 1
  8. PKG_MD5SUM:= 6b8730c875e0f550c1abdb647027d8e1
  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:= ${MASTER_SITE_SOURCEFORGE:=motion/}
  15. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  16. PKG_ARCH_DEPENDS:= !m68k
  17. include ${TOPDIR}/mk/package.mk
  18. $(eval $(call PKG_template,MOTION,motion,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  19. CONFIGURE_ARGS+= --without-ffmpeg \
  20. --without-jpeg-mmx \
  21. --without-optimizecpu \
  22. --without-mysql \
  23. --without-sqlite \
  24. --without-pgsql \
  25. --with-v4l
  26. motion-install:
  27. ${INSTALL_DIR} ${IDIR_MOTION}/etc ${IDIR_MOTION}/usr/bin
  28. $(INSTALL_DATA) ./files/motion.conf ${IDIR_MOTION}/etc
  29. ${INSTALL_BIN} ${WRKINST}/usr/bin/motion ${IDIR_MOTION}/usr/bin
  30. include ${TOPDIR}/mk/pkg-bottom.mk