mirror of
https://github.com/pentoo/pentoo-overlay
synced 2025-12-12 11:24:34 +01:00
40 lines
895 B
Bash
40 lines
895 B
Bash
# Copyright 1999-2015 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Header: blshkv Exp $
|
|
|
|
EAPI=5
|
|
|
|
inherit cmake-utils
|
|
|
|
DESCRIPTION="A hacker friendly proxy for web application penetration tests."
|
|
HOMEPAGE="https://github.com/hugsy/proxenet"
|
|
SRC_URI="https://github.com/hugsy/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
|
|
|
LICENSE="GPL-2"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64 ~x86"
|
|
IUSE=""
|
|
|
|
DEPEND="net-libs/polarssl"
|
|
RDEPEND="${DEPEND}
|
|
net-proxy/proxenet-plugins"
|
|
|
|
CMAKE_IN_SOURCE_BUILD=1
|
|
|
|
src_configure() {
|
|
# local mycmakeargs=(
|
|
# -DCMAKE_SKIP_INSTALL_RPATH:BOOL=YES
|
|
# -DCMAKE_SKIP_RPATH:BOOL=YES
|
|
# )
|
|
cmake-utils_src_configure
|
|
cd ./keys
|
|
emake keys
|
|
}
|
|
|
|
src_install() {
|
|
insinto /usr/share/${PN}
|
|
cp {proxenet,control-client.py,control-web.py} "${D}/usr/share/${PN}/"
|
|
doins -r keys
|
|
dodir /usr/share/${PN}/proxenet-plugins/autoload
|
|
dobin "${FILESDIR}/${PN}"
|
|
}
|