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 ${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:= multimedia
  11. PKG_DEPENDS:= libjpeg libpthread
  12. PKG_BUILDDEP:= jpeg
  13. PKG_URL:= http://www.lavrsen.dk/twiki/bin/view/Motion/WebHome
  14. PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=motion/}
  15. include ${TOPDIR}/mk/package.mk
  16. $(eval $(call PKG_template,MOTION,${PKG_NAME},${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. post-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 ${TOPDIR}/mk/pkg-bottom.mk