From 372fdf30712661e7a3b672fe50a1710dfd42332a Mon Sep 17 00:00:00 2001 From: florian Date: Tue, 27 Feb 2007 23:40:09 +0000 Subject: [PATCH] Add flite (#1375) git-svn-id: svn://svn.openwrt.org/openwrt/packages@6411 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- sound/flite/Makefile | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 sound/flite/Makefile diff --git a/sound/flite/Makefile b/sound/flite/Makefile new file mode 100644 index 000000000..cdbfe96b8 --- /dev/null +++ b/sound/flite/Makefile @@ -0,0 +1,47 @@ +# +# Copyright (C) 2006 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# +include $(TOPDIR)/rules.mk + +PKG_NAME:=flite +PKG_VERSION:=1.3-release +PKG_RELEASE:=1 + +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz +PKG_SOURCE_URL:=http://www.speech.cs.cmu.edu/flite/packed/flite-1.3/ +PKG_MD5SUM:=ae0aca1cb7b4801f4372f3a75a9e52b5 +PKG_CAT:=zcat + +PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) + +include $(INCLUDE_DIR)/package.mk + +define Package/flite + SECTION:=sound + CATEGORY:=Sound + TITLE:=Text-to-speech for embedded systems + DESCRIPTION:=Festival Lite is a stripped down version of Festival,\\\ + the well-developed text-to-speech program written in C++.\\\ + This program is written in C to keep memory usage low. + URL:=http://www.speech.cs.cmu.edu/flite/index.html +endef + +define Build/Configure + $(call Build/Configure/Default, \ + --with-audio="oss" \ + ) +endef + +define Build/Compile + $(MAKE) -C $(PKG_BUILD_DIR) +endef + +define Package/flite/install + $(INSTALL_DIR) $(1)/usr/bin/ + $(INSTALL_BIN) $(PKG_BUILD_DIR)/bin/flite $(1)/usr/bin/ +endef + +$(eval $(call BuildPackage,flite)) -- 2.11.0