# Copyright 2018 Gluzskiy Alexandr # Distributed under the terms of the GNU General Public License v2 require github [ user=reubenhwk tag=v${PV} ] 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 }