Makefile 1.8 KB

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