Makefile 1.0 KB

123456789101112131415161718192021222324252627282930313233
  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:= vnc-reflector
  5. PKG_VERSION:= 1.2.4
  6. PKG_RELEASE:= 1
  7. PKG_BUILDDEP+= jpeg zlib
  8. PKG_MD5SUM:= c3f88bc62f228b335c25c07f9744ab0c
  9. PKG_DESCR:= specialized VNC server which acts as a proxy
  10. PKG_SECTION:= net
  11. PKG_DEPENDS:= libjpeg zlib
  12. PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=vnc-reflector/}
  13. DISTFILES:= vnc_reflector-${PKG_VERSION}.tar.gz
  14. WRKDIST= ${WRKDIR}/vnc_reflector
  15. include ${TOPDIR}/mk/package.mk
  16. $(eval $(call PKG_template,VNC_REFLECTOR,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  17. BUILD_STYLE:= auto
  18. TCPPFLAGS+= -I.
  19. TLDFLAGS+= -lz -ljpeg
  20. MAKE_FLAGS+= CC="${TARGET_CC}" CFLAGS="${TCFLAGS} ${TCPPFLAGS} ${TLDFLAGS}"
  21. ALL_TARGET:= default
  22. do-install:
  23. ${INSTALL_DIR} ${IDIR_VNC_REFLECTOR}/usr/sbin
  24. ${INSTALL_BIN} ${WRKBUILD}/vncreflector ${IDIR_VNC_REFLECTOR}/usr/sbin/
  25. include ${TOPDIR}/mk/pkg-bottom.mk