blob: 671c321fb9288f1ffcc6251b2b143f2f69cb0e83 (
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
|
# Copyright 2018 Gluzskiy Alexandr <sss@sss.chaoslab.ru>
# Distributed under the terms of the GNU General Public License v2
require github [ user=reubenhwk tag=v${PV} force_git_clone=true ]
require autotools [ supported_autoconf=[ 2.5 ] supported_automake=[ 1.15 ] ]
export_exlib_phases src_prepare
HOMEPAGE="http://v6web.litech.org/radvd/"
SLOT="0"
LICENCES="BSD"
#broken ?
RESTRICT="test"
DEFAULT_SRC_CONFIGURE_PARAMS+=(
--with-pidfile=/var/run/radvd/radvd.pid
)
DEPENDENCIES="
build:
dev-libs/libdaemon
build+run:
sys-devel/bison
sys-devel/flex
user/radvd
group/radvd
test:
dev-libs/check
"
radvd_src_prepare() {
autotools_src_prepare
edo sed -i -e "s/AR = ar/AR = $(exhost --target)-ar/g" "${WORK}"/Makefile.in
}
|