mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-05-02 11:40:51 +02:00
27 lines
616 B
Bash
27 lines
616 B
Bash
# Copyright 1999-2024 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
inherit git-r3
|
|
|
|
DESCRIPTION="The host program for MMDVM"
|
|
HOMEPAGE="https://github.com/g4klx/MMDVMHost"
|
|
EGIT_REPO_URI="https://github.com/g4klx/MMDVMHost.git"
|
|
|
|
LICENSE="GPL-2"
|
|
SLOT="0"
|
|
IUSE="dmr-access-control"
|
|
|
|
src_prepare() {
|
|
use dmr-access-control || eapply "${FILESDIR}"/disable-dmr-accesscontrol.patch
|
|
sed -i -e "s#CFLAGS = -g -O3 -Wall#CFLAGS = ${CFLAGS}#" -e "s#LDFLAGS = -g#LDFLAGS = ${LDFLAGS}#" Makefile
|
|
eapply_user
|
|
}
|
|
|
|
src_install() {
|
|
dobin MMDVMHost
|
|
|
|
insinto /etc
|
|
doins MMDVM.ini
|
|
}
|