| ################################################################################ |
| # |
| # flite |
| # |
| ################################################################################ |
| |
| FLITE_VERSION = 2.1 |
| FLITE_SOURCE = flite-$(FLITE_VERSION)-release.tar.bz2 |
| FLITE_SITE = http://www.festvox.org/flite/packed/flite-$(FLITE_VERSION) |
| FLITE_LICENSE = BSD-4-Clause |
| FLITE_LICENSE_FILES = COPYING |
| |
| FLITE_INSTALL_STAGING = YES |
| # Patching configure.in |
| FLITE_AUTORECONF = YES |
| FLITE_DEPENDENCIES = host-pkgconf |
| |
| # Sadly, Flite does not support parallel build, especially when building its |
| # shared libraries. |
| FLITE_MAKE = $(MAKE1) |
| |
| ifeq ($(BR2_PACKAGE_ALSA_LIB),y) |
| FLITE_DEPENDENCIES += alsa-lib |
| FLITE_CONF_OPTS += --with-audio=alsa |
| else |
| FLITE_CONF_OPTS += --with-audio=oss |
| endif |
| |
| $(eval $(autotools-package)) |