Makefile 1.1 KB

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