net-dns/https_dns_proxy: update live ebuild

Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr>
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
This commit is contained in:
Jakov Smolic
2020-11-09 09:53:12 +01:00
committed by Joonas Niilola
parent 93b80d1300
commit 19e71b2bf9

View File

@@ -1,27 +1,31 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit git-r3 cmake-utils
EAPI=7
inherit cmake
DESCRIPTION="A lightweight DNS-over-HTTPS proxy."
if [[ ${PV} == "9999" ]] ; then
EGIT_REPO_URI="https://github.com/aarond10/https_dns_proxy.git"
inherit git-r3
else
MY_COMMIT="2d9285e2b94bce21c588c8160f8fac660806987a"
SRC_URI="https://github.com/aarond10/https_dns_proxy/archive/${MY_COMMIT}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64 ~x86"
S="${WORKDIR}/${PN}-${MY_COMMIT}"
fi
DESCRIPTION="A lightweight DNS-over-HTTPS proxy"
HOMEPAGE="https://github.com/aarond10/https_dns_proxy"
EGIT_REPO_URI="https://github.com/aarond10/${PN}.git"
SRC_URI=""
LICENSE="MIT"
SLOT="0"
KEYWORDS=""
IUSE=""
DEPEND="dev-libs/libev
net-dns/c-ares
>=net-misc/curl-7.53.0[http2,ssl]
"
net-misc/curl[http2,ssl]"
RDEPEND="${DEPEND}"
src_install() {
cmake-utils_src_install
exeinto /usr/bin
doexe "${S}_build/https_dns_proxy"
cmake_src_install
dobin "${S}_build/https_dns_proxy"
}