Makefile 1.0 KB

1234567891011121314151617181920212223242526272829303132333435
  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 ${ADK_TOPDIR}/rules.mk
  4. PKG_NAME:= setpwc
  5. PKG_VERSION:= 1.3
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 79d5ee468c0076feb3cac473bef661d2
  8. PKG_DESCR:= philips webcam control utility
  9. PKG_SECTION:= sys/hw
  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 ${ADK_TOPDIR}/mk/package.mk
  14. $(eval $(call PKG_template,SETPWC,setpwc,${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. do-build:
  20. ${TARGET_CC} ${TARGET_CPPFLAGS} ${TARGET_CFLAGS} ${TARGET_LDFLAGS} \
  21. -o ${WRKBUILD}/setpwc ${WRKBUILD}/setpwc.c
  22. do-install:
  23. ${INSTALL_DIR} ${IDIR_SETPWC}/usr/bin
  24. ${INSTALL_BIN} ${WRKBUILD}/setpwc ${IDIR_SETPWC}/usr/bin/
  25. include ${ADK_TOPDIR}/mk/pkg-bottom.mk