38 lines
580 B
Bash
38 lines
580 B
Bash
EAPI=8
|
|
|
|
DESCRIPTION="Network-wide ads & trackers blocking DNS server"
|
|
HOMEPAGE="https://adguard.com/en/adguard-home/overview.html"
|
|
|
|
inherit go-module
|
|
if [[ ${PV} == 9999 ]]; then
|
|
inherit git-r3
|
|
EGIT_REPO_URI="https://github.com/AdguardTeam/AdGuardHome.git"
|
|
fi
|
|
|
|
LICENSE="GPL-3"
|
|
SLOT="0"
|
|
|
|
BDEPEND="dev-lang/go"
|
|
|
|
|
|
PATCHES=(
|
|
"${FILESDIR}/${PN}-no-archives.patch"
|
|
)
|
|
|
|
src_prepare() {
|
|
default
|
|
}
|
|
|
|
src_configure() {
|
|
:
|
|
}
|
|
|
|
src_compile() {
|
|
emake bin/"$PN"
|
|
# CHANNEL=development SIGN=0 VERBOSE=1 ARCH=amd64 OS=linux ./scripts/make/build-release.sh
|
|
}
|
|
|
|
src_install() {
|
|
dobin bin/"$PN"
|
|
}
|