Makefile 1.1 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:= setpwc
  5. PKG_VERSION:= 1.3
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 79d5ee468c0076feb3cac473bef661d2
  8. PKG_DESCR:= Philips (and compatibles) WebCams (PWC) control utility
  9. PKG_SECTION:= multimedia
  10. PKG_URL:= http://www.vanheusden.com/setpwc/
  11. PKG_SITES:= http://www.vanheusden.com/setpwc/
  12. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tgz
  13. include ${TOPDIR}/mk/package.mk
  14. $(eval $(call PKG_template,SETPWC,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  15. CONFIG_STYLE:= manual
  16. BUILD_STYLE:= manual
  17. INSTALL_STYLE:= manual
  18. TARGET_CPPFLAGS+= -DVERSION=\"${PKG_VERSION}\"
  19. TARGET_CFLAGS+= -Wall
  20. do-build:
  21. ${TARGET_CC} ${TARGET_CPPFLAGS} ${TARGET_CFLAGS} ${TARGET_LDFLAGS} \
  22. -o ${WRKBUILD}/setpwc ${WRKBUILD}/setpwc.c
  23. do-install:
  24. ${INSTALL_DIR} ${IDIR_SETPWC}/usr/bin
  25. ${INSTALL_BIN} ${WRKBUILD}/setpwc ${IDIR_SETPWC}/usr/bin/
  26. include ${TOPDIR}/mk/pkg-bottom.mk