Root/flite/Makefile

1#
2# This is free software, licensed under the GNU General Public License v2.
3# See /LICENSE for more information.
4#
5
6include $(TOPDIR)/rules.mk
7
8PKG_NAME:=flite
9PKG_VERSION:=1.5.5
10
11PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-current.tar.bz2
12PKG_SOURCE_URL:=http://festvox.org/bard/
13
14PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)-current
15PKG_RELEASE:=1
16
17include $(INCLUDE_DIR)/package.mk
18
19define Package/flite
20  SECTION:=multimedia
21  CATEGORY:=Multimedia
22  TITLE:=festival-lite
23  URL:=http://www.speech.cs.cmu.edu/flite/index.html
24  DEPENDS:=+alsa-lib
25endef
26
27define Package/flite/description
28  a small, fast run-time synthesis engine
29endef
30
31CONFIGURE_ARGS += --with-langvox=ben
32
33define Package/flite/install
34    $(INSTALL_DIR) $(1)/usr/bin/
35    $(INSTALL_BIN) $(PKG_BUILD_DIR)/bin/flite $(1)/usr/bin/
36endef
37
38define Build/InstallDev
39    $(INSTALL_DIR) $(1)/usr/include $(1)/usr/lib
40
41    $(CP) $(PKG_BUILD_DIR)/include/*.h $(1)/usr/include
42    $(CP) $(PKG_BUILD_DIR)/build/mipsel-linux-gnu/lib/*.a \
43        $(1)/usr/lib/
44endef
45
46$(eval $(call BuildPackage,flite))
47

Archive Download this file



interactive