Makefile 1021 B

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