diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-01-01 21:06:00 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-01-01 21:06:00 +0000 |
commit | 129160ec854dca4c3fedb5bcfbcb56930371da0f (patch) | |
tree | 53bf797418ac5e9b99c41ca0382c87b82421e5de /net-misc/astmanproxy/astmanproxy-1.28.2.ebuild | |
parent | 441d1370330332b7d78f238d2f5e13f7aed5e4e0 (diff) |
gentoo new year resync : 01.01.2021
Diffstat (limited to 'net-misc/astmanproxy/astmanproxy-1.28.2.ebuild')
-rw-r--r-- | net-misc/astmanproxy/astmanproxy-1.28.2.ebuild | 32 |
1 files changed, 13 insertions, 19 deletions
diff --git a/net-misc/astmanproxy/astmanproxy-1.28.2.ebuild b/net-misc/astmanproxy/astmanproxy-1.28.2.ebuild index 2fb64067a9ab..b1999a399500 100644 --- a/net-misc/astmanproxy/astmanproxy-1.28.2.ebuild +++ b/net-misc/astmanproxy/astmanproxy-1.28.2.ebuild @@ -1,49 +1,43 @@ # Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=5 +EAPI=7 -inherit base flag-o-matic multilib toolchain-funcs +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" -IUSE="" - -SLOT="0" LICENSE="GPL-2" +SLOT="0" KEYWORDS="~amd64 ~ppc ~x86" -DEPEND="" -PATCHES=( "${FILESDIR}/${P}-gentoo.diff" ) +PATCHES=( + "${FILESDIR}"/${P}-gentoo.diff + "${FILESDIR}"/${P}-fno-common.patch +) src_prepare() { - base_src_prepare + default # Fix multilib - sed -i -e "s#/usr/lib/#/usr/$(get_libdir)/#" "${S}/Makefile" \ + sed -i -e "s#/usr/lib/#/usr/$(get_libdir)/#" Makefile \ || die "multilib sed failed" } -src_compile() { - emake CC="$(tc-getCC)" \ - LDFLAGS="${LDFLAGS}" \ - LD="$(tc-getLD)" \ - RAWLDFLAGS="$(raw-ldflags)" +src_configure() { + tc-export CC } src_install() { dosbin astmanproxy + dodoc -r samples dodoc README VERSIONS - docinto samples - dodoc samples/* - insinto /etc/asterisk - doins configs/astmanproxy.conf - doins configs/astmanproxy.users + doins configs/astmanproxy.{conf,users} newinitd "${FILESDIR}"/astmanproxy.rc6 astmanproxy } |