Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
36 lines (28 sloc) 891 Bytes
include $(TOPDIR)/rules.mk
PKG_NAME:=sgudrcom
PKG_VERSION:=1.1
PKG_RELEASE:=1
PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
include $(INCLUDE_DIR)/package.mk
define Package/$(PKG_NAME)
SECTION:=net
CATEGORY:=Network
TITLE:=Sgu DrCom Client
DEPENDS:=+libpcap +libpthread
endef
define Package/$(PKG_NAME)/description
Sgu DrCom Client —— 3rd Party Dr.Com Client for SGU(Shaoguan University).
endef
define Build/Prepare
mkdir -p $(PKG_BUILD_DIR)
$(CP) ./src/* $(PKG_BUILD_DIR)/
endef
define Package/sgudrcom/install
$(INSTALL_DIR) $(1)/bin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/SguDrcom $(1)/bin/
$(INSTALL_DIR) $(1)/usr/lib
$(INSTALL_DATA) $(TOOLCHAIN_DIR)/lib/libstdc++.so.6 $(1)/usr/lib
$(INSTALL_DATA) $(TOOLCHAIN_DIR)/lib/libm.so $(1)/usr/lib/libm.so.6
$(INSTALL_DATA) $(TOOLCHAIN_DIR)/lib/libc.so $(1)/usr/lib/libc.so.6
endef
$(eval $(call BuildPackage,sgudrcom))
You can’t perform that action at this time.