mirror of
git://projects.qi-hardware.com/openwrt-packages.git
synced 2024-11-22 17:52:27 +02:00
47 lines
1.0 KiB
Makefile
47 lines
1.0 KiB
Makefile
#
|
|
# 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.5.5
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-current.tar.bz2
|
|
PKG_SOURCE_URL:=http://festvox.org/bard/
|
|
|
|
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)-current
|
|
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
|
|
DEPENDS:=+alsa-lib
|
|
endef
|
|
|
|
define Package/flite/description
|
|
a small, fast run-time synthesis engine
|
|
endef
|
|
|
|
CONFIGURE_ARGS += --with-langvox=ben
|
|
|
|
define Package/flite/install
|
|
$(INSTALL_DIR) $(1)/usr/bin/
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/bin/flite $(1)/usr/bin/
|
|
endef
|
|
|
|
define Build/InstallDev
|
|
$(INSTALL_DIR) $(1)/usr/include $(1)/usr/lib
|
|
|
|
$(CP) $(PKG_BUILD_DIR)/include/*.h $(1)/usr/include
|
|
$(CP) $(PKG_BUILD_DIR)/build/mipsel-linux-gnu/lib/*.a \
|
|
$(1)/usr/lib/
|
|
endef
|
|
|
|
$(eval $(call BuildPackage,flite))
|