34 lines
632 B
Bash
34 lines
632 B
Bash
# Copyright 1999-2021 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=7
|
|
|
|
DESCRIPTION="A fast, proxy smart selector"
|
|
HOMEPAGE="https://github.com/microcai/smartproxy"
|
|
|
|
EGIT_REPO_URI="https://github.com/microcai/smartproxy"
|
|
EGIT_COMMIT="v${PV}"
|
|
|
|
inherit cmake git-r3
|
|
#SRC_URI="https://github.com/microcai/smartproxy/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
|
|
|
LICENSE="GPL-3+"
|
|
SLOT="0"
|
|
KEYWORDS="amd64 x86"
|
|
|
|
RESTRICT="mirror"
|
|
|
|
RDEPEND="dev-libs/openssl
|
|
"
|
|
|
|
DEPEND="dev-libs/openssl
|
|
"
|
|
|
|
src_configure(){
|
|
local mycmakeargs=(
|
|
-DUSE_SYSTEM_OPENSSL=ON
|
|
-DUSE_SYSTEM_BOOST=OFF
|
|
)
|
|
cmake_src_configure
|
|
}
|