blob: 71482a3a263ee41063048c7b04983307ff933815 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit flag-o-matic toolchain-funcs
DESCRIPTION="Proxy program for two connections set up by a UCSPI server and a UCSPI client"
HOMEPAGE="https://untroubled.org/ucspi-proxy/"
SRC_URI="https://untroubled.org/ucspi-proxy/archive/${P}.tar.gz"
LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
RDEPEND=">=dev-libs/bglibs-2.04"
DEPEND="${RDEPEND}"
src_prepare() {
default
sed -i -e 's/\<ar\>/$(AR)/' -e 's/\<ranlib\>/$(RANLIB)/' \
Makefile || die # bugs #725754 #732062
}
src_configure() {
# bug #946204
append-cflags -std=gnu17
tc-export AR RANLIB
echo "$(tc-getCC) ${CFLAGS}" > conf-cc || die
echo "$(tc-getCC) ${LDFLAGS}" > conf-ld || die
echo "${EPREFIX}/usr/bin" > conf-bin || die
echo "${EPREFIX}/usr/share/man" > conf-man || die
}
src_install() {
local -x install_prefix="${D}"
default
}
|