aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-dialup/minimodem/minimodem-0.24-r2.ebuild')
-rw-r--r--net-dialup/minimodem/minimodem-0.24-r2.ebuild36
1 files changed, 36 insertions, 0 deletions
diff --git a/net-dialup/minimodem/minimodem-0.24-r2.ebuild b/net-dialup/minimodem/minimodem-0.24-r2.ebuild
new file mode 100644
index 000000000..89d8a78df
--- /dev/null
+++ b/net-dialup/minimodem/minimodem-0.24-r2.ebuild
@@ -0,0 +1,36 @@
+# Copyright 2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools
+
+DESCRIPTION="General-purpose software audio FSK modem"
+HOMEPAGE="http://www.whence.com/minimodem/"
+SRC_URI="http://www.whence.com/minimodem/minimodem-${PV}.tar.gz"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="alsa pulseaudio +sndfile sndio test"
+REQUIRED_USE+="|| ( alsa pulseaudio sndfile )
+ test? ( sndfile )"
+
+RESTRICT="!test? ( test )"
+
+DEPEND="sndfile? ( media-libs/libsndfile )
+ sci-libs/fftw:3.0
+ alsa? ( media-libs/alsa-lib )
+ pulseaudio? ( media-libs/libpulse )
+ sndio? ( media-sound/sndio )"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ eautoreconf
+ eapply_user
+}
+
+src_configure() {
+ my_args="$(use_with alsa) $(use_with pulseaudio) $(use_with sndfile)"
+ econf $my_args
+}