Name libflite1
Description Small run-time speech synthesis engine - shared libraries
Version 2.2-6build3
Package Base flite
Homepage http://cmuflite.org
Maintainers ['Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>']
Contributors [' Lukas Loehrer <loehrerl@gmx.net>', 'Paul Gevers <elbrus@debian.org>', 'Samuel Thibault <sthibault@debian.org>']
Distro-repo https://git.launchpad.net/ubuntu/+source/flite/tree/?h=ubuntu/noble
Sources ['https://git.launchpad.net/ubuntu/+source/flite/plain/debian/patches/../?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/flite/plain/debian/patches/64bit?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/flite/plain/debian/patches/example_fix?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/flite/plain/debian/patches/flags?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/flite/plain/debian/patches/flite.texi.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/flite/plain/debian/patches/series?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/flite/plain/debian/patches/texinfo70?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/flite/plain/debian/patches/typos-found-by-lintian.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/flite/plain/debian/patches/verbose?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/libflite1/plain/debian/watch?h=ubuntu/noble']
Dependencies ['libasound2t64', 'libc6']
Optional-Dependencies []
Build-Dependencies ['debhelper-compat', 'ed', 'libasound2-dev [linux-any]', 'texinfo', 'texlive']
Provides []
Builddate
Architecture amd64
Distro-Version noble
Licenses []
Hash 367f1d0da5cd38759a0515eafc27aa133b2d7bf99308cac34831df0212e96b75
#!/usr/bin/make -f

%:
	dh $@

export DEB_BUILD_MAINT_OPTIONS = hardening=+all
#fix FTBFS with binutils-gold
export DEB_LDFLAGS_MAINT_APPEND = -lm

include /usr/share/dpkg/architecture.mk

# If it's a linux OS use alsa, else use oss.
ifeq ($(DEB_BUILD_ARCH_OS),linux)
AUDIO=alsa
else
AUDIO=oss
endif

override_dh_auto_clean:
	dh_update_autotools_config
	[ ! -f config.log ] || dh_auto_clean

override_dh_auto_configure:
	dh_auto_configure -- --with-audio=$(AUDIO) \
		--with-vox=cmu_us_kal16 --enable-shared

override_dh_auto_build:
	dh_auto_build
	(set -e; cd doc; $(MAKE) flite.pdf flite.html; makeinfo flite.texi)