1
0
mirror of git://projects.qi-hardware.com/openwrt-packages.git synced 2024-11-10 22:39:43 +02:00
openwrt-packages/flite/Makefile

47 lines
1.0 KiB
Makefile
Raw Normal View History

#
# 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
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
2011-03-20 19:55:22 +02:00
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/
2011-03-20 19:55:22 +02:00
$(INSTALL_BIN) $(PKG_BUILD_DIR)/bin/flite $(1)/usr/bin/
endef
2012-01-23 16:38:03 +02:00
define Build/InstallDev
$(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
$(CP) $(PKG_BUILD_DIR)/build/mipsel-linux-gnu/lib/*.a \
$(1)/usr/lib/
2012-01-23 16:38:03 +02:00
endef
$(eval $(call BuildPackage,flite))