1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- # This file is part of the OpenADK project. OpenADK is copyrighted
- # material, please see the LICENCE file in the top-level directory.
- include $(ADK_TOPDIR)/rules.mk
- PKG_NAME:= v4l-utils
- PKG_VERSION:= 1.0.0
- PKG_RELEASE:= 1
- PKG_HASH:= 1de3882099e04e89e354675ee408b82c8ac8afd3ca6ab27ea321771901285f30
- PKG_DESCR:= video4linux utilities
- PKG_SECTION:= mm/video
- PKG_BUILDDEP:= libjpeg-turbo
- PKG_SITES:= http://linuxtv.org/downloads/v4l-utils/
- PKG_LIBNAME:= libv4l
- PKG_OPTS:= dev
- DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
- PKG_LIBC_DEPENDS:= glibc
- PKG_SUBPKGS:= V4L_UTILS LIBV4L
- PKGSC_LIBV4L:= libs/video
- PKGSD_LIBV4L:= Video4Linux2 libraries
- include $(ADK_TOPDIR)/mk/package.mk
- $(eval $(call PKG_template,V4L_UTILS,v4l-utils,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
- $(eval $(call PKG_template,LIBV4L,libv4l,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_LIBV4L},${PKGSC_LIBV4L},${PKG_OPTS}))
- CONFIGURE_ARGS+= --disable-qv4l2
- TARGET_CPPFLAGS+= -DLINUX_I2C_DEV_H
- v4l-utils-install:
- $(INSTALL_DIR) $(IDIR_V4L_UTILS)/usr/bin
- $(INSTALL_BIN) $(WRKINST)/usr/bin/v4l2-ctl \
- $(IDIR_V4L_UTILS)/usr/bin
- libv4l-install:
- $(INSTALL_DIR) $(IDIR_LIBV4L)/usr/lib/libv4l
- $(CP) $(WRKINST)/usr/lib/libv4l*so* \
- $(IDIR_LIBV4L)/usr/lib
- $(CP) $(WRKINST)/usr/lib/libv4l/v4l{1compat,2convert}.so \
- $(IDIR_LIBV4L)/usr/lib/libv4l
- include ${ADK_TOPDIR}/mk/pkg-bottom.mk
|