* Thx to Erwin for fixing the ebuild

This commit is contained in:
grimmlin 2009-07-03 14:44:23 +00:00
parent 1fc7293575
commit c824fe226e
2 changed files with 11 additions and 4 deletions

View file

@ -1,2 +1,2 @@
DIST metagoofil-1.4a.tar 40960 RMD160 f36f06dd183885919b88d5b59227e9043ca34556 SHA1 d2f9b2f76a2cf5b58d772231ac6c2819632fda38 SHA256 3358bf2161ce6d0bd23b5e496fbe478a8f1d53d25d477653b958bffd3986943d
EBUILD metagoofil-1.4.ebuild 592 RMD160 32dc5915d9e8db2e3073ab1e7f55e35d18e7904b SHA1 1646f32f815dd548caba2530f2938c86fa316e14 SHA256 2404b142af3d4f1013a4ce8f2fe9bef3167cae5b7ac33cb1c582a3309932ee7c
EBUILD metagoofil-1.4a.ebuild 863 RMD160 1b769d8c2d5d89c78f4601013171634952eb8f1c SHA1 5ab2de30cf73b769127fd8a5c77cb79fe72341fd SHA256 e04a7b3765f03aaa0e0ec15f2145971a1c767ebe0abebf8f8071b379d6bbd66e

View file

@ -5,17 +5,24 @@
inherit eutils
DESCRIPTION="Metagoofil is an information gathering tool designed for extracting metadata of public documents"
HOMEPAGE="http://www.edge-security.com/metagoofil.php"
SRC_URI="http://www.edge-security.com/soft/${P}a.tar"
SRC_URI="http://www.edge-security.com/soft/${P}.tar"
LICENSE="GPL-2"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE=""
RDEPEND=""
RDEPEND="media-libs/libextractor"
SLOT="0"
S="${WORKDIR}"/"${PN}"
S="${WORKDIR}"/"${P}"
src_unpack() {
unpack "${A}"
cd "${S}"
# Add the following line, so metagoofil.py can be executed directly.
sed -i '1i#!\/usr\/bin\/python' "${PN}".py \
|| die 'sed failed'
# change libextractor default location
sed -i -e "s:/opt/local/bin/extract:/usr/bin/extract:g" "${PN}".py
}
src_compile() {