buildroot/package/minimodem/minimodem.mk
Alexander Kurz b444dc2fc4 package/minimodem: new package
Minimodem is a command-line program which decodes (or generates)
audio modem tones at any specified baud rate, using various
framing protocols. It acts a general-purpose software FSK modem,
and includes support for various standard FSK protocols such as
Bell103, Bell202, RTTY, TTY/TDD NOAA SAME, and Caller-ID.

Signed-off-by: Alexander Kurz <akurz@blala.de>
[Thomas:
- switch from a depends on to a select for the libsndfile or
  pulseaudio or alsa dependency
- re-order statements in Config.in
- add missing host-pkgconf dependency]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2019-09-11 15:34:42 +02:00

36 lines
886 B
Makefile

################################################################################
#
# minimodem
#
################################################################################
MINIMODEM_VERSION = 0.24
MINIMODEM_SITE = http://www.whence.com/minimodem
MINIMODEM_LICENSE = GPL-3.0+
MINIMODEM_LICENSE_FILES = COPYING
MINIMODEM_DEPENDENCIES = fftw-single host-pkgconf
ifeq ($(BR2_PACKAGE_ALSA_LIB_PCM),y)
MINIMODEM_DEPENDENCIES += alsa-lib
MINIMODEM_CONF_OPTS += --with-alsa
else
MINIMODEM_CONF_OPTS += --without-alsa
endif
ifeq ($(BR2_PACKAGE_PULSEAUDIO),y)
MINIMODEM_DEPENDENCIES += pulseaudio
MINIMODEM_CONF_OPTS += --with-pulseaudio
else
MINIMODEM_CONF_OPTS += --without-pulseaudio
endif
ifeq ($(BR2_PACKAGE_LIBSNDFILE),y)
MINIMODEM_DEPENDENCIES += libsndfile
MINIMODEM_CONF_OPTS += --with-sndfile
else
MINIMODEM_CONF_OPTS += --without-sndfile
endif
$(eval $(autotools-package))