1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include ${ADK_TOPDIR}/rules.mk
9 PKG_HASH
:= 4d32d4d54d584cd42aaf52dfa1ba874122e825ad39e4493d45f89b85de4e95cf
10 PKG_DESCR
:= philips webcam control utility
12 PKG_URL
:= http
://www.vanheusden.com
/setpwc
/
13 PKG_SITES
:= http
://www.vanheusden.com
/setpwc
/
15 DISTFILES
:= ${PKG_NAME}-${PKG_VERSION}.tgz
17 include ${ADK_TOPDIR}/mk
/package.mk
19 $(eval
$(call PKG_template
,SETPWC
,setpwc
,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
23 INSTALL_STYLE
:= manual
25 TARGET_CPPFLAGS
+= -DVERSION
=\"${PKG_VERSION}\"
28 ${TARGET_CC} ${TARGET_CPPFLAGS} ${TARGET_CFLAGS} ${TARGET_LDFLAGS} \
29 -o
${WRKBUILD}/setpwc
${WRKBUILD}/setpwc.c
32 ${INSTALL_DIR} ${IDIR_SETPWC}/usr
/bin
33 ${INSTALL_BIN} ${WRKBUILD}/setpwc
${IDIR_SETPWC}/usr
/bin
/
35 include ${ADK_TOPDIR}/mk
/pkg-bottom.mk