Makefile (1856B)
1 # 2 # Copyright (C) 2015 OpenWrt.org 3 # 4 # This is free software, licensed under the GNU General Public License v2. 5 # See /LICENSE for more information. 6 # 7 8 include $(TOPDIR)/rules.mk 9 10 PKG_NAME:=svox 11 PKG_VERSION:=1.0+git20130326 12 PKG_RELEASE:=2 13 14 PKG_SOURCE:=$(PKG_NAME)_$(PKG_VERSION).orig.tar.gz 15 PKG_SOURCE_URL:=http://ftp.debian.org/debian/pool/non-free/s/svox 16 PKG_MD5SUM:=df4bf610ff4273b420e80ff64af93130 17 18 PKG_MAINTAINER:=Alessandro Di Marco <dmr@ethzero.com> 19 PKG_LICENSE:=Apache-2.0 20 PKG_LICENSE_FILES:= 21 22 PKG_FIXUP:=autoreconf 23 PKG_INSTALL:=1 24 25 include $(INCLUDE_DIR)/package.mk 26 27 define Package/svox 28 TITLE:=SVOX PicoTTS text-to-speech engine 29 SECTION:=sound 30 CATEGORY:=Sound 31 URL:=https://android.googlesource.com/platform/external/svox/ 32 DEPENDS:=+libpopt 33 endef 34 35 define Package/svox/description 36 SVOX is an embedded speech technology company founded in 2000 and 37 headquartered in Zurich, Switzerland. SVOX was acquired by Nuance 38 Communications in 2011. Company's products included Automated Speech 39 Recognition (ASR), Text-to-Speech (TTS) and Speech Dialog systems, 40 with customers mostly being manufacturers and system integrators in 41 automotive and mobile device industries. 42 SVOX TTS technology is characterized by natural and clear sound as well 43 as unique polyglot capability - the same voice can speak multiple 44 languages like a native speaker. 45 endef 46 47 define Build/Prepare 48 $(call Build/Prepare/Default) 49 mv $(PKG_BUILD_DIR)/pico/* $(PKG_BUILD_DIR) 50 endef 51 52 define Package/svox/install 53 $(INSTALL_DIR) $(1)/usr/bin 54 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/pico2wave $(1)/usr/bin/ 55 $(INSTALL_DIR) $(1)/usr/lib 56 $(CP) $(PKG_INSTALL_DIR)/usr/lib/libttspico.so* $(1)/usr/lib/ 57 $(INSTALL_DIR) $(1)/usr/share/pico/lang 58 $(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/share/pico/lang/* $(1)/usr/share/pico/lang/ 59 endef 60 61 $(eval $(call BuildPackage,svox))