2011-03-20 19:36:14 +02:00
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=flite
|
2012-03-09 10:28:43 +02:00
|
|
|
PKG_VERSION:=1.5.5
|
2011-03-20 19:36:14 +02:00
|
|
|
|
2012-01-23 18:36:34 +02:00
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-current.tar.bz2
|
|
|
|
PKG_SOURCE_URL:=http://festvox.org/bard/
|
2011-03-20 19:36:14 +02:00
|
|
|
|
2012-01-23 18:36:34 +02:00
|
|
|
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)-current
|
2011-03-20 19:36:14 +02:00
|
|
|
PKG_RELEASE:=1
|
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
|
|
|
|
define Package/flite
|
|
|
|
SECTION:=multimedia
|
|
|
|
CATEGORY:=Multimedia
|
|
|
|
TITLE:=festival-lite
|
|
|
|
URL:=http://www.speech.cs.cmu.edu/flite/index.html
|
2011-03-20 19:55:22 +02:00
|
|
|
DEPENDS:=+alsa-lib
|
2011-03-20 19:36:14 +02:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/flite/description
|
|
|
|
a small, fast run-time synthesis engine
|
|
|
|
endef
|
|
|
|
|
2012-01-23 18:10:17 +02:00
|
|
|
CONFIGURE_ARGS += --with-langvox=ben
|
|
|
|
|
2011-03-20 19:36:14 +02:00
|
|
|
define Package/flite/install
|
|
|
|
$(INSTALL_DIR) $(1)/usr/bin/
|
2011-03-20 19:55:22 +02:00
|
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/bin/flite $(1)/usr/bin/
|
2011-03-20 19:36:14 +02:00
|
|
|
endef
|
|
|
|
|
2012-01-23 16:38:03 +02:00
|
|
|
define Build/InstallDev
|
2012-01-23 18:43:59 +02:00
|
|
|
$(INSTALL_DIR) $(1)/usr/include $(1)/usr/lib
|
|
|
|
|
2012-01-23 16:38:03 +02:00
|
|
|
$(CP) $(PKG_BUILD_DIR)/include/*.h $(1)/usr/include
|
2012-01-23 18:43:59 +02:00
|
|
|
$(CP) $(PKG_BUILD_DIR)/build/mipsel-linux-gnu/lib/*.a \
|
|
|
|
$(1)/usr/lib/
|
2012-01-23 16:38:03 +02:00
|
|
|
endef
|
|
|
|
|
2011-03-20 19:36:14 +02:00
|
|
|
$(eval $(call BuildPackage,flite))
|