# $FreeWRT$ #- # This file is part of the FreeWRT project. FreeWRT is copyrighted # material, please see the LICENCE file in the top-level directory # or at http://www.freewrt.org/licence for details. include $(TOPDIR)/rules.mk PKG_NAME:= vncrepeater PKG_VERSION:= 0.12 PKG_RELEASE:= 1 PKG_MD5SUM:= 41c1848847c1046813b9e9e0b296a631 PKG_SOURCE_URL:= http://www.rit.edu/~reh5586/openwrt/packages/vncrepeater/0.12-2/src/ PKG_SOURCE:= $(PKG_NAME)-$(PKG_VERSION).tar.gz include $(TOPDIR)/mk/package.mk $(eval $(call PKG_template,VNCREPEATER,$(PKG_NAME),$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH))) $(WRKBUILD)/.configured: touch $@ $(WRKBUILD)/.built: rm -rf $(WRKINST) mkdir -p $(WRKINST) $(MAKE) -C $(WRKBUILD) \ CC=$(TARGET_CC) \ CFLAGS="$(TARGET_CFLAGS)" \ DESTDIR="$(WRKINST)" \ repeater touch $@ $(IPKG_VNCREPEATER): install -d -m0755 $(IDIR_VNCREPEATER)/usr/sbin $(IDIR_VNCREPEATER)/etc $(CP) $(WRKBUILD)/repeater $(IDIR_VNCREPEATER)/usr/sbin/$(PKG_NAME) $(RSTRIP) $(IDIR_VNCREPEATER) $(IPKG_BUILD) $(IDIR_VNCREPEATER) $(PACKAGE_DIR)