PKG_NAME:=vncrepeater
PKG_VERSION:=0.12
-PKG_RELEASE:=2
+PKG_RELEASE:=3
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://www.rit.edu/~reh5586/openwrt/packages/vncrepeater/src
PKG_BUILD_PARALLEL:=1
+include $(INCLUDE_DIR)/uclibc++.mk
include $(INCLUDE_DIR)/package.mk
define Package/vncrepeater
SECTION:=net
CATEGORY:=Network
- DEPENDS:=+uclibcxx
+ DEPENDS:=$(CXX_DEPENDS)
TITLE:=UltraVNC repeater for Linux
URL:=http://www.uvnc.com/addons/repeater.html
endef
define Build/Compile
$(call Build/Compile/Default, \
- CFLAGS="$(TARGET_CFLAGS) $(TARGET_CPPFLAGS) -I$(STAGING_DIR)/usr/include/uClibc++ -fno-builtin -fno-rtti -nostdinc++" \
- LDFLAGS="$(TARGET_LDFLAGS) -nodefaultlibs -lc -luClibc++ -lc $(LIBGCC_S)" \
+ CC="$(TARGET_CXX)" \
+ CFLAGS="$(TARGET_CPPFLAGS) -fno-rtti" \
repeater \
)
endef