mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-04-20 05:41:12 +02:00
rx_tools: use cmake, it works
This commit is contained in:
parent
6419dbf9e6
commit
d4fb4b996e
1 changed files with 1 additions and 19 deletions
|
|
@ -3,7 +3,7 @@
|
|||
# $Header: $
|
||||
|
||||
EAPI=5
|
||||
inherit git-r3 toolchain-funcs
|
||||
inherit git-r3 toolchain-funcs cmake-utils
|
||||
|
||||
DESCRIPTION="rx_fm, rx_power, and rx_sdr tools for receiving data from SDRs"
|
||||
HOMEPAGE="https://github.com/rxseger/rx_tools"
|
||||
|
|
@ -20,21 +20,3 @@ IUSE=""
|
|||
|
||||
RDEPEND="net-wireless/soapysdr"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
src_prepare(){
|
||||
sed -i \
|
||||
-e '/$(CC)/s!$(CFLAGS)!$(LDFLAGS) $(CFLAGS)!g' \
|
||||
-e "/^GITVER :=/s!= .(.*!=!g" \
|
||||
-e '/$(CC)/s!-DGIT=\"$(GITVER)\"!!g' \
|
||||
-e '/^CFLAGS =/{s,=,+=,;s,-g -ggdb,,;s,-O3,,;}' \
|
||||
Makefile || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake CC="$(tc-getCC)"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake install DESTDIR="${D}" PREFIX=/usr
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue