mirror of
https://github.com/pentoo/pentoo-overlay
synced 2025-12-06 08:25:01 +01:00
minimodem: clean up, eapi 6
This commit is contained in:
parent
4a421511d8
commit
796fbead98
2 changed files with 6 additions and 51 deletions
|
|
@ -1,11 +1,11 @@
|
|||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
EAPI=6
|
||||
|
||||
inherit autotools-utils
|
||||
inherit autotools versionator
|
||||
|
||||
MY_P=${P/.1/-1}
|
||||
MY_P="${PN}-$(replace_version_separator 2 '-')"
|
||||
|
||||
DESCRIPTION="General-purpose software audio FSK modem."
|
||||
HOMEPAGE="https://github.com/kamalmostafa/minimodem"
|
||||
|
|
@ -22,14 +22,11 @@ DEPEND="sci-libs/fftw:3.0
|
|||
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
|
||||
eapply_user
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
|
|
@ -38,5 +35,5 @@ src_configure() {
|
|||
$(use_with pulseaudio )
|
||||
$(use_with sndfile )
|
||||
)
|
||||
autotools-utils_src_configure
|
||||
econf "${myeconfargs[@]}"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,42 +0,0 @@
|
|||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit autotools-utils
|
||||
|
||||
MY_P=${P/_p/-}
|
||||
|
||||
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