summaryrefslogtreecommitdiffstats
path: root/package/multimedia/festival/speech-tools/speech-tools.mk
blob: 66bd3080bf8397f28615f077009afa86360ab9e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#############################################################
#
# speech-tools
#
#############################################################

SPEECH_TOOLS_VERSION = 1.2.96~beta
SPEECH_TOOLS_SOURCE = speech-tools_$(SPEECH_TOOLS_VERSION).orig.tar.gz
SPEECH_TOOLS_PATCH = speech-tools_$(SPEECH_TOOLS_VERSION)-6.diff.gz
SPEECH_TOOLS_SITE = $(BR2_DEBIAN_MIRROR)/debian/pool/main/s/speech-tools/
SPEECH_TOOLS_AUTORECONF = NO
SPEECH_TOOLS_INSTALL_STAGING = NO
SPEECH_TOOLS_INSTALL_TARGET = YES
SPEECH_TOOLS_INSTALL_TARGET_OPT = DESTDIR=$(TARGET_DIR) STRIP=$(TARGET_STRIP) install

SPEECH_TOOLS_CONF_OPT =
SPEECH_TOOLS_MAKE_OPT = CC="$(TARGET_CC)" CXX="$(TARGET_CXX)"

define SPEECH_TOOLS_DEBIAN_PATCH_APPLY
	# Use the order of the quilt patch series to apply the patches
	for p in $$(cat $(@D)/debian/patches/series) ; do \
                toolchain/patch-kernel.sh $(@D) $(@D)/debian/patches $$p; \
        done
endef

SPEECH_TOOLS_POST_PATCH_HOOKS += SPEECH_TOOLS_DEBIAN_PATCH_APPLY

SPEECH_TOOLS_DEPENDENCIES = ncurses

$(eval $(call AUTOTARGETS,package/multimedia/festival,speech-tools))