52 lines
1.1 KiB
Makefile
52 lines
1.1 KiB
Makefile
include $(TOPDIR)/rules.mk
|
|
|
|
# Name and release number of this package
|
|
PKG_NAME:=libmsc
|
|
PKG_VERSION:=1.1.2
|
|
|
|
PKG_BUILD_DIR:=$(COMPILE_DIR)/$(PKG_NAME)
|
|
|
|
include $(BUILD_DIR)/package.mk
|
|
|
|
define Package/$(PKG_NAME)
|
|
SECTION:=libs
|
|
CATEGORY:=Netease
|
|
SUBMENU:=libs
|
|
TITLE:=Xunfei msc library
|
|
DEPENDS:=+libstdcpp
|
|
endef
|
|
|
|
define Package/$(PKG_NAME)/description
|
|
This is a cae dynamic library by xunfei added by wzj!
|
|
endef
|
|
|
|
define Build/Prepare
|
|
mkdir -p $(PKG_BUILD_DIR)
|
|
$(CP) -d ./lib/* $(PKG_BUILD_DIR)/
|
|
endef
|
|
|
|
define Build/Configure
|
|
endef
|
|
|
|
define Build/Compile
|
|
endef
|
|
|
|
define Build/InstallDev
|
|
$(INSTALL_DIR) $(1)/usr/lib
|
|
$(INSTALL_DIR) $(1)/usr/include/msc
|
|
$(INSTALL_DATA) $(PKG_BUILD_DIR)/libmsc.so $(1)/usr/lib/
|
|
$(INSTALL_DATA) $(PKG_BUILD_DIR)/include/*.h $(1)/usr/include/msc/
|
|
endef
|
|
|
|
define Package/$(PKG_NAME)/install
|
|
$(INSTALL_DIR) $(1)/usr/lib
|
|
$(CP) -d $(PKG_BUILD_DIR)/libmsc.so $(1)/usr/lib/
|
|
|
|
$(INSTALL_DIR) $(1)/usr/share/netease
|
|
# $(INSTALL_DATA) ./res/*.jet $(1)/usr/share/netease/
|
|
# $(INSTALL_DATA) ./res/common.jet $(1)/usr/share/netease/
|
|
|
|
endef
|
|
|
|
$(eval $(call BuildPackage,$(PKG_NAME)))
|