1
0

Makefile 1.0 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 ${TOPDIR}/rules.mk
  4. PKG_NAME:= motion
  5. PKG_VERSION:= 3.2.11
  6. PKG_RELEASE:= 1
  7. ifneq ($(ADK_PACKAGE_MOTION),)
  8. PKG_BUILDDEP+= jpeg
  9. endif
  10. PKG_MD5SUM:= 3a26c00f3250eacf6fa93c7a7e0249d9
  11. PKG_DESCR:= Webcam motion sensing and logging
  12. PKG_SECTION:= multimedia
  13. PKG_DEPENDS:= libjpeg libpthread
  14. PKG_URL:= http://www.lavrsen.dk/twiki/bin/view/Motion/WebHome
  15. PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=motion/}
  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_STYLE:= gnu
  19. CONFIGURE_ARGS+= --without-ffmpeg \
  20. --without-jpeg-mmx \
  21. --without-optimizecpu \
  22. --without-mysql \
  23. --without-pgsql
  24. BUILD_STYLE:= auto
  25. INSTALL_STYLE:= auto
  26. post-install:
  27. ${INSTALL_DIR} ${IDIR_MOTION}/usr/bin
  28. ${INSTALL_BIN} ${WRKINST}/usr/bin/motion ${IDIR_MOTION}/usr/bin/
  29. include ${TOPDIR}/mk/pkg-bottom.mk