pentoo-overlay/app-forensics/pdfid/pdfid-0.0.12.ebuild
2013-01-06 09:44:05 +00:00

31 lines
623 B
Bash

# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="4"
PYTHON_DEPEND="2"
inherit python
MY_P="${PN}_v${PV//./_}"
SRC_URI="http://www.didierstevens.com/files/software/${MY_P}.zip"
DESCRIPTION="This tool will scan a PDF document looking for certain keyword"
HOMEPAGE="http://blog.didierstevens.com/programs/pdf-tools/"
LICENSE="public-domain"
SLOT="0"
KEYWORDS="amd64 ~arm x86"
IUSE=""
RDEPEND=""
DEPEND="app-arch/unzip"
S="${WORKDIR}"
pkg_setup() {
python_set_active_version 2
python_pkg_setup
}
src_install() {
newbin "${PN}.py" "${PN}"
}