mirror of
https://github.com/pentoo/pentoo-overlay
synced 2025-12-15 21:02:30 +01:00
minimodem: try different versioning to make repology happy
This commit is contained in:
parent
58d4a3a5dc
commit
6ed38f2781
1 changed files with 42 additions and 0 deletions
42
net-dialup/minimodem/minimodem-0.24.1.ebuild
Normal file
42
net-dialup/minimodem/minimodem-0.24.1.ebuild
Normal file
|
|
@ -0,0 +1,42 @@
|
||||||
|
# Copyright 1999-2017 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=5
|
||||||
|
|
||||||
|
inherit autotools-utils
|
||||||
|
|
||||||
|
MY_P=${P/.1/-1}
|
||||||
|
|
||||||
|
DESCRIPTION="General-purpose software audio FSK modem."
|
||||||
|
HOMEPAGE="https://github.com/kamalmostafa/minimodem"
|
||||||
|
SRC_URI="https://github.com/kamalmostafa/minimodem/archive/${MY_P}.tar.gz"
|
||||||
|
|
||||||
|
SLOT="0"
|
||||||
|
LICENSE="GPL-3+"
|
||||||
|
KEYWORDS="~amd64 ~arm ~x86"
|
||||||
|
IUSE="alsa pulseaudio +sndfile"
|
||||||
|
|
||||||
|
DEPEND="sci-libs/fftw:3.0
|
||||||
|
alsa? ( media-libs/alsa-lib )
|
||||||
|
pulseaudio? ( media-sound/pulseaudio )
|
||||||
|
sndfile? ( media-libs/libsndfile )"
|
||||||
|
RDEPEND="${DEPEND}"
|
||||||
|
|
||||||
|
AUTOTOOLS_IN_SOURCE_BUILD=1
|
||||||
|
|
||||||
|
S="${WORKDIR}/${PN}-${MY_P}"
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
#apply upstream patch
|
||||||
|
# epatch "${FILESDIR}/${P}-ttytdd.patch"
|
||||||
|
eautoreconf
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
myeconfargs=(
|
||||||
|
$(use_with alsa )
|
||||||
|
$(use_with pulseaudio )
|
||||||
|
$(use_with sndfile )
|
||||||
|
)
|
||||||
|
autotools-utils_src_configure
|
||||||
|
}
|
||||||
Loading…
Reference in a new issue