Makefile 919 B

123456789101112131415161718192021222324252627282930
  1. # $Id$
  2. #-
  3. # This file is part of the OpenADK project. OpenADK is copyrighted
  4. # material, please see the LICENCE file in the top-level directory.
  5. include ${TOPDIR}/rules.mk
  6. PKG_NAME:= setpwc
  7. PKG_VERSION:= 1.2
  8. PKG_RELEASE:= 1
  9. PKG_MD5SUM:= 1bc721cdfcbac24027e2afc93685d29f
  10. PKG_DESCR:= Philips (and compatibles) WebCams (PWC) control utility
  11. PKG_SECTION:= admin
  12. PKG_URL:= http://www.vanheusden.com/setpwc/
  13. PKG_SITES:= http://www.vanheusden.com/setpwc/
  14. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tgz
  15. include ${TOPDIR}/mk/package.mk
  16. $(eval $(call PKG_template,SETPWC,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  17. do-build:
  18. ${TARGET_CC} ${TARGET_CFLAGS} -DVERSION=\"${PKG_VERSION}\" -o ${WRKBUILD}/setpwc ${WRKBUILD}/setpwc.c
  19. do-install:
  20. ${INSTALL_DIR} ${IDIR_SETPWC}/usr/bin
  21. ${INSTALL_BIN} ${WRKBUILD}/setpwc ${IDIR_SETPWC}/usr/bin/
  22. include ${TOPDIR}/mk/pkg-bottom.mk