debian swirl logo

Back to the packages list transcriber

#!/usr/bin/make -f

DEB_SRCDIR = src

export DEB_BUILD_MAINT_OPTIONS = hardening=+all,-pie
export DEB_CFLAGS_MAINT_APPEND = -Wall
export DEB_CPPFLAGS_MAINT_APPEND = -DUSE_INTERP_RESULT
include /usr/share/dpkg/buildflags.mk

include /usr/share/cdbs/1/rules/upstream-tarball.mk
include /usr/share/cdbs/1/rules/utils.mk
include /usr/share/cdbs/1/class/autotools.mk
include /usr/share/cdbs/1/rules/debhelper.mk

DEB_CONFIGURE_USER_FLAGS = --disable-stubs --with-tcl=/usr/lib --with-tk=/usr/lib

DEB_CONFIGURE_SCRIPT_ENV = $(call cdbs_set_nondefaultvars,CC) CFLAGS="$(CFLAGS)" CPPFLAGS="$(CPPFLAGS)" LDFLAGS="-Wl,--as-needed $(LDFLAGS)"

SHELL= /bin/bash
package= transcriber
packagelib= transcriber1.5

DEB_AUTO_UPDATE_AUTOCONF = 2.69

BACKUP= src/configure

DEB_COPYRIGHT_CHECK_IGNORE_REGEX := ^debian/(changelog|copyright(|_hints|_newhints))$$|^doc/.*[.](pdf|jpg|eps|gif|png)$$|^demo/.*[.](wav)$$

pre-build::
	# Backup files expected to be modified.
		set -e ; for i in $(BACKUP); do \
			if [ ! -f "$$i".backup ]; then cp -a "$$i" "$$i".backup; fi ; \
		done

clean::
		set -e ; for i in $(BACKUP); do \
			if [ -f "$$i".backup ]; then mv -f "$$i".backup "$$i"; fi ; \
		done

DEB_INSTALL_EXAMPLES_transcriber = demo/*
DEB_INSTALL_MANPAGES_ALL = debian/manpages_files/transcriber.1
DEB_DH_MAKESHLIBS_ARGS_ALL := -Xlibtrans

# Needed by upstream build process
CDBS_BUILD_DEPENDS += , tcl-dev, tk-dev, tcl-snack-dev, tcl-tclex, libx11-dev, cpio, dpkg-dev (>= 1.16.1~) 

Builds:

transcriber
transcribe speech data using an integrated editor