Makefile 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  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:= xawtv
  5. PKG_VERSION:= 3.102
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 3ee0f1d682d7e5734121bc420a74efd5
  8. PKG_DESCR:= Video & Webcam application
  9. PKG_BUILDDEP:= libXinerama v4l-utils
  10. PKG_DEPENDS:= libxinerama libv4l
  11. PKG_SECTION:= x11/apps
  12. PKG_SITES:= http://linuxtv.org/downloads/xawtv/
  13. PKG_ARCH_DEPENDS:= x86
  14. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
  15. include $(TOPDIR)/mk/package.mk
  16. $(eval $(call PKG_template,XAWTV,xawtv,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  17. CONFIG_STYLE:= manual
  18. pre-configure:
  19. $(SED) "s#@@GNU_TARGET_NAME@@#${GNU_TARGET_NAME}#" $(WRKBUILD)/Makefile
  20. xawtv-install:
  21. $(INSTALL_DIR) $(IDIR_XAWTV)/etc/X11/app-defaults
  22. $(INSTALL_DATA) $(WRKINST)/usr/lib/X11/app-defaults/Xawtv \
  23. $(IDIR_XAWTV)/etc/X11/app-defaults
  24. $(INSTALL_DIR) $(IDIR_XAWTV)/usr/bin
  25. $(INSTALL_BIN) $(WRKINST)/usr/bin/xawtv \
  26. $(IDIR_XAWTV)/usr/bin
  27. $(INSTALL_DIR) $(IDIR_XAWTV)/usr/lib/xawtv
  28. $(CP) $(WRKINST)/usr/lib/xawtv/*.so \
  29. $(IDIR_XAWTV)/usr/lib/xawtv
  30. $(INSTALL_DIR) $(IDIR_XAWTV)/usr/share/xawtv
  31. $(CP) $(WRKINST)/usr/share/xawtv/* \
  32. $(IDIR_XAWTV)/usr/share/xawtv
  33. include ${TOPDIR}/mk/pkg-bottom.mk