mirror of
https://github.com/pentoo/pentoo-overlay
synced 2025-12-21 15:53:49 +01:00
36 lines
747 B
Bash
36 lines
747 B
Bash
# Copyright 1999-2014 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Header: $
|
|
|
|
EAPI=5
|
|
|
|
PYTHON_COMPAT=( python2_7 )
|
|
|
|
inherit eutils python-single-r1
|
|
|
|
DESCRIPTION="Weevely is a stealth PHP web shell that simulate telnet-like console"
|
|
HOMEPAGE="http://epinna.github.com/Weevely/"
|
|
SRC_URI="https://github.com/epinna/Weevely/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
|
|
|
LICENSE="GPL-3"
|
|
SLOT="0"
|
|
KEYWORDS="~x86 ~amd64"
|
|
IUSE=""
|
|
|
|
DEPEND=""
|
|
RDEPEND="${DEPEND}"
|
|
|
|
S="${WORKDIR}/Weevely-${PV}"
|
|
|
|
src_install() {
|
|
dodoc README
|
|
rm README LICENSE
|
|
|
|
insinto /usr/share/${PN}
|
|
doins -r "${S}"/*
|
|
|
|
python_fix_shebang "${ED}"/usr/share/${PN}
|
|
|
|
fperms +x /usr/share/${PN}/${PN}.py
|
|
dosym /usr/share/${PN}/${PN}.py /usr/bin/${PN}
|
|
}
|