Makefile 909 B

12345678910111213141516171819202122232425262728
  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.2
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 1bc721cdfcbac24027e2afc93685d29f
  8. PKG_DESCR:= Philips (and compatibles) WebCams (PWC) control utility
  9. PKG_SECTION:= admin
  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. do-build:
  16. ${TARGET_CC} ${TARGET_CFLAGS} -DVERSION=\"${PKG_VERSION}\" -o ${WRKBUILD}/setpwc ${WRKBUILD}/setpwc.c
  17. do-install:
  18. ${INSTALL_DIR} ${IDIR_SETPWC}/usr/bin
  19. ${INSTALL_BIN} ${WRKBUILD}/setpwc ${IDIR_SETPWC}/usr/bin/
  20. include ${TOPDIR}/mk/pkg-bottom.mk