gentoo-ebuilds/net-misc/astmanproxy/astmanproxy-1.30.0.ebuild
Jaco Kroon f53f0a7bc9
net-misc/astmanproxy: 1.30.0
Fix dodoc statement that prevented install.

Signed-off-by: Jaco Kroon <jkroon@gentoo.org>
2025-12-02 19:20:57 +02:00

43 lines
849 B
Bash

# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit toolchain-funcs
DESCRIPTION="Proxy for the Asterisk manager interface"
HOMEPAGE="https://github.com/davies147/astmanproxy/"
SRC_URI="https://github.com/davies147/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
PATCHES=(
"${FILESDIR}"/${PN}-1.30.0-gentoo.patch
"${FILESDIR}"/${PN}-1.28.2-fno-common.patch
)
src_prepare() {
default
# Fix multilib
sed -i -e "s#/usr/lib/#/usr/$(get_libdir)/#" Makefile \
|| die "multilib sed failed"
}
src_configure() {
tc-export CC
}
src_install() {
dosbin astmanproxy
dodoc -r samples
dodoc README.md VERSIONS
insinto /etc/asterisk
doins configs/astmanproxy.{conf,users}
newinitd "${FILESDIR}"/astmanproxy.rc6 astmanproxy
}