47 lines
961 B
Makefile
47 lines
961 B
Makefile
|
include $(TOPDIR)/rules.mk
|
||
|
|
||
|
# Name and release number of this package
|
||
|
PKG_NAME:=libneteasedc
|
||
|
PKG_VERSION:=0.0.7
|
||
|
|
||
|
PKG_BUILD_DIR:=$(COMPILE_DIR)/$(PKG_NAME)
|
||
|
|
||
|
include $(BUILD_DIR)/package.mk
|
||
|
|
||
|
define Package/$(PKG_NAME)
|
||
|
CATEGORY:=Netease
|
||
|
SUBMENU:=libs
|
||
|
SECTION:=libs
|
||
|
TITLE:=netease voice data collection library
|
||
|
DEPENDS:=+libstdcpp
|
||
|
endef
|
||
|
|
||
|
define Package/$(PKG_NAME)/description
|
||
|
This is a voice ai dynamic library by netease added by hx!
|
||
|
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/
|
||
|
$(CP) -d $(PKG_BUILD_DIR)/libdc.so $(1)/usr/lib
|
||
|
$(CP) -d $(PKG_BUILD_DIR)/include/*.h $(1)/usr/include/
|
||
|
endef
|
||
|
|
||
|
define Package/$(PKG_NAME)/install
|
||
|
$(INSTALL_DIR) $(1)/usr/lib
|
||
|
$(CP) -d $(PKG_BUILD_DIR)/libdc.so $(1)/usr/lib
|
||
|
endef
|
||
|
|
||
|
$(eval $(call BuildPackage,$(PKG_NAME)))
|