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:= v4l-utils
  5. PKG_VERSION:= 0.8.5
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 037bec9f68cfb0b84bcccb00d30e429b
  8. PKG_DESCR:= Video4Linux2 utilities
  9. PKG_SECTION:= multimedia
  10. PKG_SITES:= http://linuxtv.org/downloads/v4l-utils/
  11. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
  12. PKG_SUBPKGS:= V4L_UTILS LIBV4L
  13. include $(TOPDIR)/mk/package.mk
  14. $(eval $(call PKG_template,V4L_UTILS,v4l-utils,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  15. $(eval $(call PKG_template,LIBV4L,libv4l,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  16. CONFIG_STYLE:= manual
  17. v4l-utils-install:
  18. $(INSTALL_DIR) $(IDIR_V4L_UTILS)/usr/bin
  19. $(INSTALL_BIN) $(WRKINST)/usr/bin/v4l2-ctl \
  20. $(IDIR_V4L_UTILS)/usr/bin
  21. libv4l-install:
  22. $(INSTALL_DIR) $(IDIR_LIBV4L)/usr/lib/libv4l
  23. $(CP) $(WRKINST)/usr/lib/libv4l*so* \
  24. $(IDIR_LIBV4L)/usr/lib
  25. $(CP) $(WRKINST)/usr/lib/libv4l/v4l{1compat,2convert}.so \
  26. $(IDIR_LIBV4L)/usr/lib/libv4l
  27. include ${TOPDIR}/mk/pkg-bottom.mk