update osiris to 4.2.3, eliminates the need for mod_if as it has been incorporated
[openwrt/svn-archive/archive.git] / sound / flite / Makefile
1 #
2 # Copyright (C) 2006 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7 include $(TOPDIR)/rules.mk
8
9 PKG_NAME:=flite
10 PKG_VERSION:=1.3-release
11 PKG_RELEASE:=1
12
13 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
14 PKG_SOURCE_URL:=http://www.speech.cs.cmu.edu/flite/packed/flite-1.3/
15 PKG_MD5SUM:=ae0aca1cb7b4801f4372f3a75a9e52b5
16 PKG_CAT:=zcat
17
18 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
19
20 include $(INCLUDE_DIR)/package.mk
21
22 define Package/flite
23 SECTION:=sound
24 CATEGORY:=Sound
25 TITLE:=Text-to-speech for embedded systems
26 DESCRIPTION:=Festival Lite is a stripped down version of Festival,\\\
27 the well-developed text-to-speech program written in C++.\\\
28 This program is written in C to keep memory usage low.
29 URL:=http://www.speech.cs.cmu.edu/flite/index.html
30 endef
31
32 define Build/Configure
33 $(call Build/Configure/Default, \
34 --with-audio="oss" \
35 )
36 endef
37
38 define Build/Compile
39 $(MAKE) -C $(PKG_BUILD_DIR)
40 endef
41
42 define Package/flite/install
43 $(INSTALL_DIR) $(1)/usr/bin/
44 $(INSTALL_BIN) $(PKG_BUILD_DIR)/bin/flite $(1)/usr/bin/
45 endef
46
47 $(eval $(call BuildPackage,flite))