Browse Source

minimodem

Elisa 1 year ago
parent
commit
28c596ec79
2 changed files with 41 additions and 0 deletions
  1. 2 0
      net-dialup/minimodem/Manifest
  2. 39 0
      net-dialup/minimodem/minimodem-0.24.1.ebuild

+ 2 - 0
net-dialup/minimodem/Manifest View File

@@ -0,0 +1,2 @@
1
+DIST minimodem-0.24-1.tar.gz 58655 BLAKE2B 4e56e7ff64bdfa4c821a59270e72013bd0d0aeb0b008e5c4057fa00f5c37b668bc76f1d2ccd7665bd58508a719e66ece05adc9589d078fda10341f67dcd16092 SHA512 4a60a13596adbebc2b0b63579b037b595221f1ba7ede33e0e74d8866ffd786f2a9504e01c9ff06e136af5e1a6f0a43940e7d3650e19a0964bc1fc9ba231b437c
2
+EBUILD minimodem-0.24.1.ebuild 832 BLAKE2B 9b7ce0fcb0b22b4d099d3eabfabb01bc911bd030bb5871e1e931a353501950e6f58fa5d06e94bceeed21d178251063b8025d9979c8fe326cedf869e20e1f4625 SHA512 2c99264d547a6374ca57f382f84fb16b585e879420ad451463ff1253cc7eaea6eb76eaf1b1e4ae89525080167262086656b018671cc3b7b83cdaf0d53267f4a5

+ 39 - 0
net-dialup/minimodem/minimodem-0.24.1.ebuild View File

@@ -0,0 +1,39 @@
1
+# Copyright 1999-2018 Gentoo Foundation
2
+# Distributed under the terms of the GNU General Public License v2
3
+
4
+EAPI=6
5
+
6
+inherit autotools versionator
7
+
8
+MY_P="${PN}-$(replace_version_separator 2 '-')"
9
+
10
+DESCRIPTION="General-purpose software audio FSK modem."
11
+HOMEPAGE="https://github.com/kamalmostafa/minimodem"
12
+SRC_URI="https://github.com/kamalmostafa/minimodem/archive/${MY_P}.tar.gz"
13
+
14
+SLOT="0"
15
+LICENSE="GPL-3+"
16
+KEYWORDS="~amd64 ~arm ~x86"
17
+IUSE="alsa pulseaudio +sndfile"
18
+
19
+DEPEND="sci-libs/fftw:3.0
20
+	alsa? ( media-libs/alsa-lib )
21
+	pulseaudio? ( media-sound/pulseaudio )
22
+	sndfile? ( media-libs/libsndfile )"
23
+RDEPEND="${DEPEND}"
24
+
25
+S="${WORKDIR}/${PN}-${MY_P}"
26
+
27
+src_prepare() {
28
+	eautoreconf
29
+	eapply_user
30
+}
31
+
32
+src_configure() {
33
+	myeconfargs=(
34
+		$(use_with alsa )
35
+		$(use_with pulseaudio )
36
+		$(use_with sndfile )
37
+	)
38
+	econf "${myeconfargs[@]}"
39
+}