themole: initial ebuild, tested on amd64

This commit is contained in:
Anton Bolshakov 2012-03-31 06:50:41 +00:00
parent 873c28e787
commit 0688cfc99b
2 changed files with 37 additions and 0 deletions

2
dev-db/themole/Manifest Normal file
View file

@ -0,0 +1,2 @@
DIST themole-0.3-lin-src.tar.gz 196812 RMD160 e9b152d6b2eb670a5a00716ce2e6ed1615190ce8 SHA1 2c88472fa640230e6c00301575ec1a761b590d5c SHA256 9d2ec07374b52984df1b7923875a149f1cc439c8c0d910ecc92032a2eb5d9f73
EBUILD themole-0.3.ebuild 698 RMD160 f8b21e2ea5bb0c97421f70314c2b6dcf6406e08c SHA1 09b3fd73b000d9a853c545e96aaf6ac087a26db0 SHA256 f7f42ae7a7561050397645ca9740622d20f726b4300c9ce2f1f465c2857f5127

View file

@ -0,0 +1,35 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=4
PYTHON_DEPEND="3"
inherit python
DESCRIPTION="An automatic SQL Injection exploitation tool"
HOMEPAGE="http://themole.nasel.com.ar/"
SRC_URI="mirror://sourceforge/${PN}/${P/_/}-lin-src.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND="sys-libs/readline
dev-python/lxml"
DEPEND="${RDEPEND}"
pkg_setup() {
python_set_active_version 3
python_pkg_setup
}
src_install() {
dodir /usr/lib/${PN}
insinto /usr/lib/${PN}
doins -r *
chmod +x "${D}/usr/lib/${PN}/mole.py"
dosym "/usr/lib/${PN}/mole.py" "/usr/bin/${PN}"
dodoc README changelog
}